mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 19:49:11 +08:00
12 lines
301 B
GLSL
12 lines
301 B
GLSL
a = array_create(1, 2, 3)
|
|
assert(array_push(a,"a","b","c") == 3)
|
|
assert(array_pop(a), "c")
|
|
assert(array_pop(a), "b")
|
|
assert(array_pop(a), "a")
|
|
assert(array_pop(a), "3")
|
|
assert(array_pop(a), "2")
|
|
assert(array_pop(a), "1")
|
|
assert(value_is_valid(array_pop(a)))
|
|
assert(array_clear(a))
|
|
assert(a.size == 0)
|