def test_steps_by_wire(self): wire = ['R8', 'U5', 'L5', 'D3'] point = Point(8, 1) steps = point.get_steps_by(wire) self.assertEqual(steps, 9)