mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
new gg/freetype modules with sokol/fontstash backends
This commit is contained in:
parent
43ba6766ba
commit
0502a54a36
15 changed files with 321 additions and 20 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue