Handle slight imprecisions in Matrix tests.

This commit is contained in:
Jürg Lehni 2014-02-22 13:09:26 +01:00
parent 641514cbf3
commit ea0147fe85

View file

@ -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()');
} }