[instancer.solver] More test

This commit is contained in:
Behdad Esfahbod 2022-08-09 14:18:31 -06:00
parent cff162579d
commit eddc53c267

View File

@ -59,7 +59,7 @@ class RebaseTentTest(object):
pytest.param(
(0, .4, 1), (-1, 0, .5),
[
(1, (0.0, 0.8, pytest.approx(1.9999389))),
(1, (0.0, 0.8, pytest.approx(1.99994))),
]
),
@ -207,6 +207,12 @@ class RebaseTentTest(object):
(-1, (0, 1, 1)),
]
),
pytest.param(
(0, .2, 1), (0, 0, .5),
[
(1, (0, .4, pytest.approx(1.99994))),
]
),
],
)
def test_rebaseTent(self, tent, axisRange, expected):