mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
test_algebra.py -> loc^0.25
This commit is contained in:
parent
99416be17d
commit
b0a7e2b996
1 changed files with 2 additions and 2 deletions
|
|
@ -543,8 +543,8 @@ class AlgebraTests(unittest.TestCase):
|
|||
l = Curve() + [l1, l2]
|
||||
self.assertTupleAlmostEquals(l @ 0.25, Vector(2.0, -1.0, 0.0), 6)
|
||||
self.assertTupleAlmostEquals(l % 0.25, Vector(-1.0, 0.0, 0.0), 6)
|
||||
self.assertTupleAlmostEquals((l ^ 0).position, l @ 0.25, 6)
|
||||
self.assertTupleAlmostEquals((l ^ 0).orientation, Vector(0.0, -90.0, 90.0), 6)
|
||||
self.assertTupleAlmostEquals((l ^ 0.25).position, l @ 0.25, 6)
|
||||
self.assertTupleAlmostEquals((l ^ 0.25).orientation, Vector(0.0, -90.0, 90.0), 6)
|
||||
|
||||
# Part + - & Empty
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue