예제 #1
0
 def test_move_direction_correct_result2(self):
     result = MoveDirection(1)
     self.assertEqual(result, [1, 2])
예제 #2
0
 def test_move_direction_correct_result6(self):
     result = MoveDirection(5)
     self.assertEqual(result, [-1, -2])
예제 #3
0
 def test_move_direction_correct_result(self):
     result = MoveDirection(0)
     self.assertEqual(result, [2, 1])
예제 #4
0
 def test_move_direction_correct_result5(self):
     result = MoveDirection(4)
     self.assertEqual(result, [-2, -1])