Unicode texture pack is squirrel texture pack
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import unittest
|
||||
|
||||
from dungeonbattle.display.texturepack import TexturePack
|
||||
from dungeonbattle.interfaces import Map, Tile
|
||||
|
||||
|
||||
@ -8,10 +9,10 @@ class TestInterfaces(unittest.TestCase):
|
||||
"""
|
||||
Create a map and check that it is well parsed.
|
||||
"""
|
||||
m = Map.load_from_string(".█\n█.\n")
|
||||
m = Map.load_from_string(".#\n#.\n")
|
||||
self.assertEqual(m.width, 2)
|
||||
self.assertEqual(m.height, 2)
|
||||
self.assertEqual(m.draw_string(), ".█\n█.")
|
||||
self.assertEqual(m.draw_string(TexturePack.ASCII_PACK), ".#\n#.")
|
||||
|
||||
def test_load_map(self) -> None:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user