From dbec03432d7d4252cba9f555a04f4bc2b8a04602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 8 Apr 2013 19:52:09 -0700 Subject: [PATCH] Adjust Path Length tests tolerance so they don't fail. --- test/tests/Path_Length.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/Path_Length.js b/test/tests/Path_Length.js index eb4fcdee..8241e551 100644 --- a/test/tests/Path_Length.js +++ b/test/tests/Path_Length.js @@ -19,10 +19,10 @@ test('path.length', function() { ]); var length = path.length; - compareNumbers(length, 172.10122680664062, 'path.length', 4); + compareNumbers(length, 172.10122680664062, 'path.length', 3); var param = path.curves[0].getParameterAt(length / 4); - compareNumbers(param, 0.2255849553116685, 'path.curves[0].getParameterAt(length / 4)', 4); + compareNumbers(param, 0.2255849553116685, 'path.curves[0].getParameterAt(length / 4)', 3); }); test('curve.getParameter with straight curve', function() {