From a129a096c482e26e37cd9586fb86e52fd384c21f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 9 Aug 2022 14:18:31 -0600 Subject: [PATCH] [instancer.solver] More test --- Tests/varLib/instancer/solver_test.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Tests/varLib/instancer/solver_test.py b/Tests/varLib/instancer/solver_test.py index 2eadaddaae9..eec650ed6a9 100644 --- a/Tests/varLib/instancer/solver_test.py +++ b/Tests/varLib/instancer/solver_test.py @@ -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):