test_face.py -> add new test for missing coverage line

This commit is contained in:
jdegenstein 2025-07-25 13:30:17 -05:00 committed by GitHub
parent ca823c4c1e
commit c2bfb74784
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -494,6 +494,14 @@ class TestFace(unittest.TestCase):
with self.assertRaises(RuntimeError):
Face.make_surface_patch(edge_constraints=[])
with self.assertRaises(RuntimeError):
Face.make_surface_patch(
edge_constraints=[
Edge.make_line((0, 0), (1, 0)),
Edge.make_line((0, 0), (0, 1)),
]
)
# def test_to_arcs(self):
# with BuildSketch() as bs:
# with BuildLine() as bl: