Commit 6b3418e1 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update

parent 02d77348
......@@ -97,10 +97,11 @@ QUnit.test("axis", function(assert) {
0,25)
assert.equal(axis.pos(m.clone(0)).pos.toPrecision(3), 0.00, "custom : clone 0 (nlength = 0) position -> 0.00")
assert.equal(axis.pos(m.clone(1)).pos.toPrecision(3), 0.30, "custom : clone 1 (nlength = 9) position -> 0.30")
assert.equal(axis.pos(m.clone(1)).pos.toPrecision(3), 0.321, "custom : clone 1 (nlength = 9) position")
//sequenceLength
axis = new NumericalAxis(m)
axis.MAX_NB_STEPS_IN_AXIS = 8
axis.init(m.clones,
function(clone) {
return clone.getSequenceLength();
......
......@@ -47,7 +47,8 @@ QUnit.test("grid", function(assert) {
$(document.getElementsByClassName("sp_legend")[0]).d3Click() //click label ighv4
assert.deepEqual(m.getSelected(), [2], "check click label");
sp.available_axis["nLength"].axis.MAX_NB_STEPS_IN_AXIS = 8
sp.changeSplitMethod("nLength", "size", sp.MODE_BAR);
sp.update()
......
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