Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display

This commit is contained in:
Charles Peyrat 2020-10-16 18:15:18 +02:00
commit 5bf4857d99
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ venv/
.coverage
.pytest_cache/
__pycache__

View File

@ -8,3 +8,4 @@ class TestInterfaces(unittest.TestCase):
m = Map.load_from_string("ab\ncd\n")
self.assertEqual(m.width, 2)
self.assertEqual(m.height, 2)
self.assertEqual(m.draw_string(), "ab\ncd")