aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/entity-test.scm2
-rw-r--r--tests/input-test.scm4
-rw-r--r--tests/physics-test.scm12
-rw-r--r--tests/renderer-test.scm10
-rw-r--r--tests/tilemap-test.scm2
-rw-r--r--tests/world-test.scm8
6 files changed, 19 insertions, 19 deletions
diff --git a/tests/entity-test.scm b/tests/entity-test.scm
index 3e1f85e..d67e0ff 100644
--- a/tests/entity-test.scm
+++ b/tests/entity-test.scm
@@ -1,6 +1,6 @@
(import srfi-64)
(include "entity.scm")
-(import entity)
+(import downstroke/entity)
(test-begin "entity")
diff --git a/tests/input-test.scm b/tests/input-test.scm
index 822875e..9153671 100644
--- a/tests/input-test.scm
+++ b/tests/input-test.scm
@@ -12,12 +12,12 @@
;; Load entity first (input imports it)
(include "entity.scm")
-(import entity)
+(import downstroke/entity)
;; Load the module source directly
(include "input.scm")
;; Now import it to access the exported functions
-(import input)
+(import downstroke/input)
;; Test suite for input module
(test-begin "input-module")
diff --git a/tests/physics-test.scm b/tests/physics-test.scm
index 4c6d4a6..0a2c92b 100644
--- a/tests/physics-test.scm
+++ b/tests/physics-test.scm
@@ -7,7 +7,7 @@
(only srfi-1 every member make-list fold iota))
;; Create a mock tilemap module to avoid SDL dependency
-(module tilemap *
+(module downstroke/tilemap *
(import scheme (chicken base) defstruct)
(defstruct tileset
@@ -35,23 +35,23 @@
layers
objects))
-(import tilemap)
+(import downstroke/tilemap)
;; Load entity module first (since world now imports entity)
(include "entity.scm")
-(import entity)
+(import downstroke/entity)
;; Load world module first
(include "world.scm")
-(import world)
+(import downstroke/world)
;; Load physics module
(include "physics.scm")
-(import physics)
+(import downstroke/physics)
;; Load physics module
(include "input.scm")
-(import input)
+(import downstroke/input)
;; Test suite for physics module
(test-begin "physics-module")
diff --git a/tests/renderer-test.scm b/tests/renderer-test.scm
index a8fdeed..b771847 100644
--- a/tests/renderer-test.scm
+++ b/tests/renderer-test.scm
@@ -7,7 +7,7 @@
srfi-64)
;; Mock tilemap module
-(module tilemap *
+(module downstroke/tilemap *
(import scheme (chicken base) defstruct)
(defstruct tileset tilewidth tileheight spacing tilecount columns image-source image)
(defstruct layer name width height map)
@@ -15,7 +15,7 @@
(defstruct tile id rect)
(define (tileset-tile ts id) (make-tile id: id rect: #f))
(define (tile-rect t) #f))
-(import tilemap)
+(import downstroke/tilemap)
;; Mock sdl2
(module sdl2 *
@@ -35,15 +35,15 @@
;; Load entity module
(include "entity.scm")
-(import entity)
+(import downstroke/entity)
;; Load world module
(include "world.scm")
-(import world)
+(import downstroke/world)
;; Load renderer module
(include "renderer.scm")
-(import renderer)
+(import downstroke/renderer)
(test-begin "renderer")
diff --git a/tests/tilemap-test.scm b/tests/tilemap-test.scm
index a76cff9..47d6a51 100644
--- a/tests/tilemap-test.scm
+++ b/tests/tilemap-test.scm
@@ -20,7 +20,7 @@
;; Load the module source directly
(include "tilemap.scm")
;; Now import it to access the exported functions
-(import tilemap)
+(import downstroke/tilemap)
;; Test suite for tilemap module
(test-begin "tilemap-module")
diff --git a/tests/world-test.scm b/tests/world-test.scm
index c758d2a..38005b2 100644
--- a/tests/world-test.scm
+++ b/tests/world-test.scm
@@ -7,7 +7,7 @@
(only srfi-1 every member make-list))
;; Create a mock tilemap module to avoid SDL dependency
-(module tilemap *
+(module downstroke/tilemap *
(import scheme (chicken base) defstruct)
(defstruct tileset
@@ -35,16 +35,16 @@
layers
objects))
-(import tilemap)
+(import downstroke/tilemap)
;; Load entity module first (since world now imports entity)
(include "entity.scm")
-(import entity)
+(import downstroke/entity)
;; Load the module source directly
(include "world.scm")
;; Now import it to access the exported functions
-(import world)
+(import downstroke/world)
;; Test suite for world module
(test-begin "world-module")