Commit 75edd1d0 authored by flothoni's avatar flothoni

test_clone.js; add test on function getsize.

link to #3667
parent b055688a
Pipeline #57585 failed with stages
in 17 seconds
......@@ -355,6 +355,11 @@ QUnit.test("size", function(assert) {
assert.equal(c1.get('reads'), 10, "clone c1 reads : 10");
assert.equal(c1.getSequenceSize(), "0.05", "clone c1 size : 0.05");
// testgetSize with no norm for scatterplot usage
m.set_normalization(m.NORM_EXPECTED)
m.compute_normalization(0,0.20)
assert.equal(c1.getSize().toFixed(2), 0.20, "c1 get correct size after normalisation");
assert.equal(c1.getSize(undefined, true), 0.10, "c1 return size with no norm if parameter is setted for");
});
......
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