mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Changing is_closed to a property Issue #357
This commit is contained in:
parent
fcdbab1011
commit
99be3df220
6 changed files with 13 additions and 12 deletions
|
|
@ -512,7 +512,7 @@ class AlgebraTests(unittest.TestCase):
|
|||
l2 = Line((1, 1), (0, 0))
|
||||
l = l1 + l2
|
||||
w = Wire.make_wire(l)
|
||||
self.assertTrue(w.is_closed())
|
||||
self.assertTrue(w.is_closed)
|
||||
self.assertTupleAlmostEquals(
|
||||
w.center(CenterOf.MASS), (0.6464466094067263, 0.35355339059327373, 0.0), 6
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue