diff options
Diffstat (limited to 'tests/world-test.scm')
| -rw-r--r-- | tests/world-test.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/world-test.scm b/tests/world-test.scm index 48f492a..557a121 100644 --- a/tests/world-test.scm +++ b/tests/world-test.scm @@ -110,7 +110,7 @@ ;; Test: scene with entities and tilemap (test-group "scene-with-data" - (let* ((player (make-player-entity 100 100 16 16)) + (let* ((player (make-entity 100 100 16 16)) (enemy '(#:type enemy #:x 200 #:y 200)) (tilemap "mock-tilemap") (scene (make-scene entities: (list player enemy) @@ -128,7 +128,7 @@ ;; Test: scene-add-entity adds entity to scene (test-group "scene-add-entity" - (let* ((player (make-player-entity 100 100 16 16)) + (let* ((player (make-entity 100 100 16 16)) (scene (make-scene entities: (list player) tilemap: #f camera-target: #f)) (enemy '(#:type enemy #:x 200 #:y 200))) @@ -194,7 +194,7 @@ ;; Test: scene chaining (was mutation test) (test-group "scene-chaining" (let* ((scene (make-scene entities: '() tilemap: #f camera-target: #f)) - (player (make-player-entity 10 20 16 16)) + (player (make-entity 10 20 16 16)) (scene (scene-add-entity scene player))) (test-equal "entity added" 1 (length (scene-entities scene))) |
