mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
topology: operations_generic: tests: geom_type() now returns GeomType enum
This commit is contained in:
parent
d7c6c014f8
commit
355a53f52e
5 changed files with 40 additions and 85 deletions
|
|
@ -486,7 +486,7 @@ class MirrorTests(unittest.TestCase):
|
|||
revolve(axis=Axis.Z)
|
||||
mirror(about=Plane.XY)
|
||||
construction_face = p.faces().sort_by(Axis.Z)[0]
|
||||
self.assertEqual(construction_face.geom_type(), "PLANE")
|
||||
self.assertEqual(construction_face.geom_type(), GeomType.PLANE)
|
||||
|
||||
|
||||
class OffsetTests(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue