Skip to content

Commit

Permalink
[instancer/L4] Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Jun 21, 2023
1 parent 0199946 commit 46fe5ad
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Tests/varLib/instancer/solver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,21 @@ class RebaseTentTest(object):
(-1, (-1, -1, -0.0001220703)),
],
),
# https://github.com/fonttools/fonttools/issues/3177
pytest.param(
(0, 1, 1),
(-1, -0.5, +1, 1, 1),
[
(1.0, (1 / 3, 1.0, 1.0)),
],
),
pytest.param(
(0, 1, 1),
(-1, -0.5, +1, 2, 1),
[
(1.0, (0.5, 1.0, 1.0)),
],
),
],
)
def test_rebaseTent(self, tent, axisRange, expected):
Expand Down

0 comments on commit 46fe5ad

Please sign in to comment.