new gg/freetype modules with sokol/fontstash backends

This commit is contained in:
Alexander Medvednikov 2020-01-21 03:22:18 +01:00
parent 43ba6766ba
commit 0502a54a36
15 changed files with 321 additions and 20 deletions

View file

@ -561,3 +561,12 @@ fn test_push_many_self() {
assert actual_arr[i] == expected_arr[i]
}
}
fn test_for() {
nums := [1,2,3]
mut sum := 0
for num <- nums {
sum += num
}
assert sum == 6
}