mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-30 04:10:34 -08:00
test_face.py -> add new test for missing coverage line
This commit is contained in:
parent
ca823c4c1e
commit
c2bfb74784
1 changed files with 8 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue