Commit 75644d2d authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update

parent 287a997f
Pipeline #36402 failed with stages
in 4 minutes and 25 seconds
......@@ -137,7 +137,7 @@ QUnit.test("axis", function(assert) {
assert.equal(axis.pos(m.clone(0)).pos.toPrecision(3), 0.0476, "custom (percent) : clone 0 (gc = 1/21) position -> 0.0476")
assert.equal(axis.pos(m.clone(1)).pos.toPrecision(3), 0.778, "custom (percent) : clone 1 (gc = 14/18) position -> 0.944")
assert.deepEqual(axis.labels[0].text, "0.00%", "custom (percent) : check label 0.00%")
assert.deepEqual(axis.labels[0].text, "0%", "custom (percent) : check label 0%")
//gc + log
axis.init(m.clones, 'GCContent', undefined, false, 0.001, 1, true)
......
......@@ -26,7 +26,7 @@ class TestSimple < BrowserTest
assert ($b.scatterplot_x_legend(0).text == "TRGV5"), "First legend should be TRGV5"
assert ($b.scatterplot_y_legend(0).text == "TRGJ1"), "First legend should be TRGJ1"
assert ($b.scatterplot_x_legend(0, 2).text == "119"), "First legend should be 119, it is " + $b.scatterplot_x_legend(0, 2).text
assert ($b.scatterplot_y_legend(0, 2).text == "0.00%"), "First legend sould be 0.00%"
assert ($b.scatterplot_y_legend(0, 2).text == "0%"), "First legend sould be 0%"
end
def test_02_deactivate_locus
......
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