Commit c0dc8c3c authored by BibloLeHibou's avatar BibloLeHibou
Browse files

clone_test : update test (link to #2628)

parent 2c109e44
......@@ -368,9 +368,10 @@ QUnit.test("export", function(assert) {
var c4 = new Clone(json_clone4, m, 1)
m.initClones()
assert.equal(c3.getPrintableSegSequence(), "aaaaa\naaaaatttt\nttttt", "getPrintableSegSequence() : Ok");
assert.equal(c3.getPrintableSegSequence(), "aaaaaa\naaaattttt\ntttt", "c3.getPrintableSegSequence() : Ok");
assert.equal(c4.getPrintableSegSequence(), "ATGGGTCCAGTCGTGA\nACTGTGCAT\nGCCGATAGACGAGTACGATGCCAGGTATTACC", "c4.getPrintableSegSequence() : Ok");
console.log(c3.getFasta())
assert.equal(c3.getFasta(), ">id3 19 nt, 10 reads (5.000%)\naaaaa\naaaaatttt\nttttt\n", "getFasta() : Ok");
assert.equal(c3.getFasta(), ">id3 19 nt, 10 reads (5.000%)\naaaaaa\naaaattttt\ntttt\n", "getFasta() : Ok");
var res3 = [
"0", "custom name", "id3",
......
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