Skip to content

Commit

Permalink
rm igl.copyleft.cgal from test
Browse files Browse the repository at this point in the history
  • Loading branch information
alecjacobson committed Feb 6, 2023
1 parent 34f8205 commit 484e9fb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import platform

import igl
import igl.copyleft.cgal
import numpy as np
import scipy as sp
import scipy.sparse as csc
Expand Down Expand Up @@ -2464,14 +2463,6 @@ def test_flip_edge(self):
emap.dtype == self.f1.dtype)
self.assertTrue(np.array(ue2e).dtype == self.f1.dtype)

# copyleft.cgal
def test_convex_hull(self):
V = np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1]],dtype="float64")
F = igl.copyleft.cgal.convex_hull(V)
F = np.sort(F)
F = F[np.lexsort(F.T[::-1],axis=0)]
F_gt = np.array([[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3]],dtype="int64")
self.assertTrue((F == F_gt).all())

if __name__ == '__main__':
if 'TEST_DATA_PATH' in os.environ:
Expand Down

0 comments on commit 484e9fb

Please sign in to comment.