Add some comments

This commit is contained in:
Yohann D'ANELLO
2020-10-16 18:05:49 +02:00
parent e84a5efee2
commit 8818073fc0
3 changed files with 31 additions and 1 deletions

View File

@ -5,6 +5,9 @@ from dungeonbattle.interfaces import Map
class TestInterfaces(unittest.TestCase):
def test_map(self) -> None:
"""
Create a map and check that it is well parsed.
"""
m = Map.load_from_string(".#\n#.\n")
self.assertEqual(m.width, 2)
self.assertEqual(m.height, 2)