aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2026-04-17 15:03:13 +0100
committerGene Pasquet <dev@etenil.net>2026-04-17 15:03:13 +0100
commitc9d23f9e8143fbb6e8633ef2db85376f47ad8087 (patch)
tree3cb99c25d02b6fd07f6b22ef1a5202b0b6fded48 /tests
parente29143f891ea0f25480c9e2b2c5b765f0b343bff (diff)
Fix plist handling, add test for timed animation frames
Diffstat (limited to 'tests')
-rw-r--r--tests/prefabs-test.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/prefabs-test.scm b/tests/prefabs-test.scm
index e635d0a..3578b35 100644
--- a/tests/prefabs-test.scm
+++ b/tests/prefabs-test.scm
@@ -3,6 +3,7 @@
(chicken base)
(chicken keyword)
(chicken port)
+ (chicken pretty-print)
defstruct
srfi-64)
@@ -65,6 +66,8 @@
(lambda (reg)
;; Inline #:vx 99 beats mixin #:vx 5
(let ((e (instantiate-prefab reg 'runner 0 0 16 16)))
+ (pp e)
+ (test-equal "entity should have squashed properties" 14 (length e))
(test-equal "inline field beats mixin field for same key"
99
(entity-ref e #:vx))