From c2bfb74784f1b7412f20818d6dd71c034d8d27fb Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Fri, 25 Jul 2025 13:30:17 -0500 Subject: [PATCH] test_face.py -> add new test for missing coverage line --- tests/test_direct_api/test_face.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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: