Commit d2d3c5d8 authored by aurelien beliard's avatar aurelien beliard Committed by Mathieu Giraud

correct test

parent 6a488315
......@@ -343,7 +343,7 @@ QUnit.test("normalization: test", function(assert) {
assert.equal(m.normalization.B,0.20, "expected value")
assert.equal(c1.getSize().toFixed(2),m.normalization.B,"clone1 normalized size")
assert.equal(c1.getSize(1).toFixed(2),m.normalization.B,"clone1 normalized size")
assert.equal(c1.getSize(2),0.20000000000000004,"clone1 normalized size")
assert.equal(c1.getSize(2),0,"clone1 normalized size")
assert.equal(m.normalize(c2.getSize(),0),0.8000000000000002,"normalize")
m.compute_normalization(-1,0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment