Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display
This commit is contained in:
commit
5bf4857d99
|
@ -6,3 +6,5 @@ venv/
|
||||||
|
|
||||||
.coverage
|
.coverage
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
|
||||||
|
__pycache__
|
||||||
|
|
|
@ -8,3 +8,4 @@ class TestInterfaces(unittest.TestCase):
|
||||||
m = Map.load_from_string("ab\ncd\n")
|
m = Map.load_from_string("ab\ncd\n")
|
||||||
self.assertEqual(m.width, 2)
|
self.assertEqual(m.width, 2)
|
||||||
self.assertEqual(m.height, 2)
|
self.assertEqual(m.height, 2)
|
||||||
|
self.assertEqual(m.draw_string(), "ab\ncd")
|
||||||
|
|
Loading…
Reference in New Issue