MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / test_point_cloud

Method test_point_cloud

python/pymesh/tests/test_triangle.py:11–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9else:
10 class TriangleTest(TestCase):
11 def test_point_cloud(self):
12 tri = triangle()
13 tri.points = np.array([
14 [0.0, 0.0],
15 [1.0, 0.0],
16 [1.0, 1.0],
17 [0.0, 1.0] ])
18 tri.verbosity = 0
19 tri.split_boundary = False
20 tri.max_num_steiner_points = 0
21 tri.run()
22
23 self.assertEqual(4, len(tri.vertices))
24 self.assertEqual(2, len(tri.faces))
25
26 def test_pslg(self):
27 tri = triangle()

Callers

nothing calls this directly

Calls 2

triangleClass · 0.90
runMethod · 0.45

Tested by

no test coverage detected