Commit 60206ed1 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: add test

parent 4bdc7ba4
......@@ -71,7 +71,7 @@ json_data = {
"sequence" : "cccccccccccccccccccc",
"name" : "test3",
"id" : "id3",
"reads" : [25,25,50,5] ,
"reads" : [25,25,50,3],
"top" : 3,
"germline" : "IGH",
"seg" : {
......
......@@ -52,4 +52,9 @@ test("Segmenter : ", function() {
m.multiSelect([0,1])
equal(document.getElementsByClassName("stats_content")[0].innerHTML, "2 clones, 30 reads, 15.00% ", "stats (several clones) : Ok")
m.unselectAll()
m.select(2)
m.changeTime(3)
equal(document.getElementsByClassName("stats_content")[0].innerHTML, "1 clone, 3 reads ", "stats (1 clone with few reads) : Ok")
});
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