From bb94fe0df252ce196a12856952c647257255ece5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 8 Aug 2022 09:15:28 -0600 Subject: [PATCH] [instancer.solver] One more test --- Tests/varLib/instancer/solver_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Tests/varLib/instancer/solver_test.py b/Tests/varLib/instancer/solver_test.py index c66ec671c..9496fb2a6 100644 --- a/Tests/varLib/instancer/solver_test.py +++ b/Tests/varLib/instancer/solver_test.py @@ -124,6 +124,17 @@ class RebaseTentTest(object): (-.4, (-1, -1, -.8)), ] ), + + # Case 2neg, other side + pytest.param( + (-1, -.55, -.05), (-.5, -.25, 0), + [ + (.4, (-1.0, 0.0, 1.0)), + (.5, (-1, -1, 0)), + (-.4, (0, .8, 1)), + (-.4, (.8, 1, 1)), + ] + ), ], ) def test_rebaseTent(self, tent, axisRange, expected):