Commit 16046b73 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

segmenter_test.js: Make sure the segmenter export is in the right order

parent 729ec24f
Pipeline #65829 passed with stages
in 5 minutes and 26 seconds
......@@ -73,6 +73,10 @@ QUnit.test("segmenter", function(assert) {
// Clone 2 is more abundant than clone 1 more abundant than clone 0
assert.ok(clone2_pos < clone1_pos);
assert.ok(clone1_pos < clone0_pos);
var fasta = segment.toFasta();
assert.ok(fasta.indexOf('> test3') < fasta.indexOf('> test2'));
assert.ok(fasta.indexOf('> test2') < fasta.indexOf('> test1'));
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