Test player level up

This commit is contained in:
Yohann D'ANELLO
2020-11-06 21:23:17 +01:00
parent 0de11abfa8
commit aeb43a0cec
3 changed files with 13 additions and 7 deletions

View File

@ -32,3 +32,4 @@ class TestInterfaces(unittest.TestCase):
self.assertTrue(Tile.FLOOR.can_walk())
self.assertFalse(Tile.WALL.can_walk())
self.assertTrue(Tile.EMPTY.can_walk())
self.assertRaises(ValueError, Tile.from_ascii_char, 'unknown')