Commit 14071530 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: add test

parent 771a3027
Pipeline #48384 passed with stages
in 5 minutes and 30 seconds
......@@ -35,7 +35,7 @@ QUnit.module("Clone", {
"name" : some_name,
"reads" : [10,10,30,0] ,
"top" : 2,
"germline" : "TRG",
"germline" : "IGH",
"warn": [{
"code": "Wxx",
"msg": "a warning that is only an information",
......@@ -139,6 +139,9 @@ QUnit.test("name, informations, getHtmlInfo", function(assert) {
assert.equal(c2.getName(), some_name, "clone2, .getName()");
assert.equal(c2.getShortName(), "IGHV3-23 6/ACGTG/4 D1-1 5/12/4 J5*02", "clone2, .getShortName()");
assert.equal(c1.getLocus(), "TRG")
assert.equal(c2.getLocus(), "IGH")
assert.equal(c1.isWarned(), 'warn', "clone1 is warned (client, bad e-value)")
assert.equal(c2.isWarned(), false, "clone2 is not warned (only 'info')")
assert.equal(c3.isWarned(), 'warn', "clone3 is warned with 'warn'")
......
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