aboutsummaryrefslogtreecommitdiff
path: root/internal/game/map_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-24 20:58:25 -0400
committerhistoria <[not public]>2026-06-24 20:58:25 -0400
commit9d4b799db4868bcab291b83599ff088763cd4ed6 (patch)
tree252f0fcc779acf35243983d643d6399ee2e0cd0b /internal/game/map_test.go
parentd25638d98fe63efdeab570ef77e6a6a97f2d7a60 (diff)
downloadthehouseoficarus-9d4b799db4868bcab291b83599ff088763cd4ed6.tar.gz
feat: new type of non-violent 'combat': work
Diffstat (limited to 'internal/game/map_test.go')
-rw-r--r--internal/game/map_test.go36
1 files changed, 18 insertions, 18 deletions
diff --git a/internal/game/map_test.go b/internal/game/map_test.go
index b7d9f01..dded62e 100644
--- a/internal/game/map_test.go
+++ b/internal/game/map_test.go
@@ -21,32 +21,32 @@ func TestBuildTinyMap(t *testing.T) {
want []string // expected lines, or nil to just check count
}{
{
- name: "room 1 has east exit",
- roomID: 1,
+ name: "room 999991 has east exit",
+ roomID: 999991,
},
{
- name: "room 2 has west/north/east",
- roomID: 2,
+ name: "room 999992 has west/north/east",
+ roomID: 999992,
},
{
- name: "room 4 has west/north/east",
- roomID: 4,
+ name: "room 999994 has west/north/east",
+ roomID: 999994,
},
{
- name: "room 21 has west only",
- roomID: 21,
+ name: "room 9999921 has west only",
+ roomID: 9999921,
},
{
- name: "room 22 west of town square",
- roomID: 22,
+ name: "room 9999922 west of town square",
+ roomID: 9999922,
},
{
- name: "room 25 east of south of west",
- roomID: 25,
+ name: "room 9999925 east of south of west",
+ roomID: 9999925,
},
{
- name: "room 8 hacking lab",
- roomID: 8,
+ name: "room 999998 hacking lab",
+ roomID: 999998,
},
}
@@ -108,10 +108,10 @@ func TestBuildFullMap(t *testing.T) {
width int
height int
}{
- {"room 1 30x20", 1, 30, 20},
- {"room 1 20x10", 1, 20, 10},
- {"room 25 30x20", 25, 30, 20},
- {"min size 5x5", 1, 5, 5},
+ {"room 999991 30x20", 999991, 30, 20},
+ {"room 999991 20x10", 999991, 20, 10},
+ {"room 9999925 30x20", 9999925, 30, 20},
+ {"min size 5x5", 999991, 5, 5},
}
for _, tt := range tests {