Exemple #1
0
 def test_ccw(self):
     a = np.array([[4, 1], [1, 1]])
     b = np.array([[3, 2], [2, 2]])
     c = np.array([[2, 1], [3, 3]])
     np.testing.assert_array_equal(np.array([True, False]), ccw(a, b, c))
Exemple #2
0
 def test_ccw(self):
     a = np.array([[4, 1], [1, 1]])
     b = np.array([[3, 2], [2, 2]])
     c = np.array([[2, 1], [3, 3]])
     np.testing.assert_array_equal(np.array([True, False]), ccw(a, b, c))