jak-project/test/goalc/source_templates/with_game/test-game-count.gc
water111 09142d1712
Support "game count" and v4 objects (#140)
* generate object, but not supported in linker yet

* add link and tests

* update types
2020-11-24 20:48:38 -05:00

8 lines
283 B
Common Lisp

(start-test "game-count")
(expect-true (= (-> *game-counts* data 0 money-count) 123))
(expect-true (= (-> *game-counts* data 0 buzzer-count) 456))
(expect-true (= (-> *game-counts* data 1 money-count) 789))
(expect-true (= (-> *game-counts* data 1 buzzer-count) 221))
(finish-test)