Example #1
0
 def test_all_points_have_same_position_returns_false_for_three_points_two_same(
         self):
     points = np.array([[1, 1, 0], [1, 1, 1], [0, 1, 1]])
     result = am.all_points_have_same_position(points)
     self.assertFalse(result)
Example #2
0
 def test_all_points_have_same_position_returns_false_for_three_points_two_same(self):
     points = np.array([[1, 1, 0], [1, 1, 1], [0, 1, 1]])
     result = am.all_points_have_same_position(points)
     self.assertFalse(result)
Example #3
0
 def test_all_points_have_same_position_returns_true(self):
     points = np.array([[1, 1, 0], [1, 1, 1]])
     result = am.all_points_have_same_position(points)
     self.assertTrue(result)
Example #4
0
 def test_all_points_have_same_position_returns_true(self):
     points = np.array([[1, 1, 0], [1, 1, 1]])
     result = am.all_points_have_same_position(points)
     self.assertTrue(result)