We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e94565 commit d03f6d8Copy full SHA for d03f6d8
test_modules/test_mesh_analysis.py
@@ -1,7 +1,5 @@
1
import unittest
2
3
-from fontTools.merge import cmap
4
-
5
from model.mesh_struct.mesh import Mesh
6
from model.mesh_struct.mesh_elements import Dart
7
import model.mesh_analysis as Mesh_analysis
@@ -24,7 +22,7 @@ def test_mesh_with_irregularities(self):
24
22
faces = [[0, 1, 2], [0, 2, 3], [3, 2, 4], [7, 0, 3], [7, 10, 0], [10, 14, 0], [0, 14, 1], [10, 12, 14],
25
23
[3, 4, 5], [3, 5, 6], [3, 6, 7], [7, 6, 8], [7, 8, 9], [7, 9, 10], [10, 9, 11], [10, 11, 12],
26
[14, 12, 13], [14, 13, 15], [1, 14, 15], [1, 15, 16], [1, 16, 17], [1, 17, 2], [2, 17, 18], [2, 18, 4]]
27
- cmap = Mesh(nodes,faces)
+ cmap = Mesh(nodes, faces)
28
nodes_score, mesh_score, mesh_ideal_score = Mesh_analysis.global_score(cmap)
29
self.assertEqual((6, -2), (mesh_score,mesh_ideal_score) ) # add assertion here
30
0 commit comments