コード例 #1
0
    def test_start(self):
        """Checks if starting positions are set from robot."""
        action = MoveAction(5)
        action.start(self.robot)

        self.assertEqual(action.x_start, 1)
        self.assertEqual(action.y_start, 1)
コード例 #2
0
    def test_start(self):
        """Checks if starting positions are set from robot."""
        action = MoveAction(5)
        action.start(self.robot)

        self.assertEqual(action.x_start, 1)
        self.assertEqual(action.y_start, 1)