Example map was moved
This commit is contained in:
parent
9b925672ca
commit
f9c3fc1517
|
@ -11,7 +11,7 @@ class TestEntities(unittest.TestCase):
|
||||||
"""
|
"""
|
||||||
Load example map that can be used in tests.
|
Load example map that can be used in tests.
|
||||||
"""
|
"""
|
||||||
self.map = Map.load("example_map.txt")
|
self.map = Map.load("resources/example_map.txt")
|
||||||
|
|
||||||
def test_basic_entities(self) -> None:
|
def test_basic_entities(self) -> None:
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -18,7 +18,7 @@ class TestInterfaces(unittest.TestCase):
|
||||||
"""
|
"""
|
||||||
Try to load a map from a file.
|
Try to load a map from a file.
|
||||||
"""
|
"""
|
||||||
m = Map.load("example_map.txt")
|
m = Map.load("resources/example_map.txt")
|
||||||
self.assertEqual(m.width, 52)
|
self.assertEqual(m.width, 52)
|
||||||
self.assertEqual(m.height, 17)
|
self.assertEqual(m.height, 17)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue