From e7d4416c271dadfdc257fac6366870a115f55600 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 8 Aug 2022 11:57:26 -0600 Subject: [PATCH] [instancer.solver] Add more tests --- Tests/varLib/instancer/solver_test.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Tests/varLib/instancer/solver_test.py b/Tests/varLib/instancer/solver_test.py index f811de177..303250454 100644 --- a/Tests/varLib/instancer/solver_test.py +++ b/Tests/varLib/instancer/solver_test.py @@ -193,6 +193,20 @@ class RebaseTentTest(object): (1, (1, 1, 1)), ] ), + pytest.param( + (.5, .5, 1), (.5, .5, 1), + [ + (1, None), + (-1, (0, 1, 1)), + ] + ), + pytest.param( + (.25, .5, 1), (.5, .5, 1), + [ + (1, None), + (-1, (0, 1, 1)), + ] + ), ], ) def test_rebaseTent(self, tent, axisRange, expected):