diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-12 08:25:58 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:36 +0200 |
| commit | 8a00fc998d0e803e835c800b50d9c8e4cdb287a0 (patch) | |
| tree | 55dfcb32b434deb06ba89fe8e7714964ad3a5221 /go/game/map_test.go | |
| parent | 661cfcad1cb8ff95bb0c86efab19263b3e49b9a0 (diff) | |
| download | muhqs-game-8a00fc998d0e803e835c800b50d9c8e4cdb287a0.tar.gz muhqs-game-8a00fc998d0e803e835c800b50d9c8e4cdb287a0.zip | |
support parsing of simple equipment effects
Diffstat (limited to 'go/game/map_test.go')
| -rw-r--r-- | go/game/map_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/go/game/map_test.go b/go/game/map_test.go index bc17dd55..038cde93 100644 --- a/go/game/map_test.go +++ b/go/game/map_test.go @@ -17,6 +17,19 @@ func parseMapString(t *testing.T, mapDef string) *Map { return m } +func newEmpty2x2Map() *Map { + mapDef := `map: |1- + __ + __ + +symbols: + _: neutral +` + m, _ := readMap(strings.NewReader(mapDef)) + + return m +} + func TestParseMapEndingStreets(t *testing.T) { mapDef := `map: |1- HST |
