diff --git a/tests/test_direct_api/test_face.py b/tests/test_direct_api/test_face.py index 353c20c..82460c0 100644 --- a/tests/test_direct_api/test_face.py +++ b/tests/test_direct_api/test_face.py @@ -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: