mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
new gg/freetype modules with sokol/fontstash backends
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user