Fix Firefox unit test for realz

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2077 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2012-03-31 18:04:10 +00:00
parent 7e6a6e68a1
commit 597176e2c1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
var svgroot = document.getElementById('svgroot');
var svgcontent, rect, circle;
var NEAR_ZERO = 1e-7;
var NEAR_ZERO = 5e-6; // 0.000005, Firefox fails at higher levels of precision.
function almostEquals(a, b, msg) {
msg = msg || (a + ' did not equal ' + b);
ok(Math.abs(a - b) < NEAR_ZERO, msg);