def test_set_location(self): test_creature = Creature([0, 0], 0) test_creature.set_location([1, 1]) self.assertEqual(test_creature.get_location(), [1, 1], "Testing creature.set_location([1,1]).")