mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Handle slight imprecisions in Matrix tests.
This commit is contained in:
parent
641514cbf3
commit
ea0147fe85
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ test('Decomposition: rotate()', function() {
|
||||||
equals(m.getRotation(), Base.pick(ea, a),
|
equals(m.getRotation(), Base.pick(ea, a),
|
||||||
s + '.getRotation()',
|
s + '.getRotation()',
|
||||||
Numerical.TOLERANCE);
|
Numerical.TOLERANCE);
|
||||||
equals(m.getScaling(), new Point(1, 1),
|
comparePoints(m.getScaling(), new Point(1, 1),
|
||||||
s + '.getScaling()');
|
s + '.getScaling()');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue