def test_instructions_6(self): # Arrange from_house = House(2, 5) to_house = House(4, 1) # Act instructions = from_house.instructions(to_house) text_instructions = convert_to_text_instructions(instructions) # Assert self.assertEqual(text_instructions, "EESSSSD")
def test_instructions_3(self): # Arrange from_house = House(2, 0) to_house = House(0, 0) # Act instructions = from_house.instructions(to_house) text_instructions = convert_to_text_instructions(instructions) # Assert self.assertEqual(text_instructions, "WWD")