fix unit test error in google chrome

This commit is contained in:
sapics 2015-05-23 08:47:42 +09:00
parent 4c2dd702d3
commit 79db396d3a

View file

@ -349,14 +349,14 @@
cObj.set('height', 167).setCoords();
boundingRect = cObj.getBoundingRect();
equal(boundingRect.left, 0);
equal(boundingRect.top, 0);
equal(Math.abs(boundingRect.top).toFixed(13), 0);
equal(boundingRect.width, 123);
equal(boundingRect.height, 167);
cObj.scale(2).setCoords();
boundingRect = cObj.getBoundingRect();
equal(boundingRect.left, 0);
equal(boundingRect.top, 0);
equal(Math.abs(boundingRect.top).toFixed(13), 0);
equal(boundingRect.width, 246);
equal(boundingRect.height, 334);
});