From ea0147fe85c6f70eda31f358cb0f9e26f8eacc9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 22 Feb 2014 13:09:26 +0100 Subject: [PATCH] Handle slight imprecisions in Matrix tests. --- test/tests/Matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/Matrix.js b/test/tests/Matrix.js index 25e1330a..e6058f3c 100644 --- a/test/tests/Matrix.js +++ b/test/tests/Matrix.js @@ -18,7 +18,7 @@ test('Decomposition: rotate()', function() { equals(m.getRotation(), Base.pick(ea, a), s + '.getRotation()', Numerical.TOLERANCE); - equals(m.getScaling(), new Point(1, 1), + comparePoints(m.getScaling(), new Point(1, 1), s + '.getScaling()'); }