Skip to content

Commit

Permalink
Update test_build_sketch.py -> rectangle height
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegenstein authored Dec 5, 2023
1 parent 8f69980 commit 1bfda94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_build_sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def test_rectangle(self):
with BuildSketch() as test:
r = Rectangle(20, 10)
self.assertEqual(r.width, 20)
self.assertEqual(r.rectangle_height, 10)
self.assertEqual(r.height, 10)
self.assertEqual(r.rotation, 0)
self.assertEqual(r.align, (Align.CENTER, Align.CENTER))
self.assertEqual(r.mode, Mode.ADD)
Expand All @@ -237,7 +237,7 @@ def test_rectangle_rounded(self):
with BuildSketch() as test:
r = RectangleRounded(20, 10, 1)
self.assertEqual(r.width, 20)
self.assertEqual(r.rectangle_height, 10)
self.assertEqual(r.height, 10)
self.assertEqual(r.rotation, 0)
self.assertEqual(r.radius, 1)
self.assertEqual(r.align, (Align.CENTER, Align.CENTER))
Expand Down

0 comments on commit 1bfda94

Please sign in to comment.