From 3dc052d23f554138f74ba86b4f08f41242bd9623 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 12 Aug 2025 08:25:58 +0200 Subject: support parsing of simple equipment effects --- go/game/map_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'go/game/map_test.go') 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 -- cgit v1.2.3