mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Make tests use QUnit.strictEqual.
This commit is contained in:
parent
4acd02f6b1
commit
05b9e0d13a
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
// Let's be strict
|
||||||
|
equals = strictEqual;
|
||||||
|
|
||||||
function compareNumbers(number1, number2, message) {
|
function compareNumbers(number1, number2, message) {
|
||||||
if (number1 !== 0)
|
if (number1 !== 0)
|
||||||
number1 = Math.round(number1 * 100) / 100;
|
number1 = Math.round(number1 * 100) / 100;
|
||||||
|
|
Loading…
Reference in a new issue