We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cda6e4 commit 7fd6177Copy full SHA for 7fd6177
Tests/test_render_functions.py
@@ -46,14 +46,14 @@ def test_get_names_at_location_multiple_entities(self):
46
'''
47
ent = Entity()
48
ent1 = Entity(x=5, y=6, name="entity1")
49
- ent2 = Entity(x=5, y=6, name="entity2")
+ ent2 = Entity(x=5, y=6, name="entity1")
50
eng = Engine(player=ent)
51
gm = GameMap(engine=eng, width=10, height=10)
52
gm.visible[:] = True
53
gm.entities = {ent1, ent2}
54
names = render_functions.get_names_at_location(5, 6, gm)
55
# notice that the first letter is capitalized
56
- self.assertEqual(names, "Entity1, entity2")
+ self.assertEqual(names, "Entity1, entity1")
57
58
def test_render_bar_value_0(self):
59
0 commit comments