Commit a5a9ecfd authored by Mathieu Giraud's avatar Mathieu Giraud

tests: tests isWarned()

See #2917.
parent bfd06300
Pipeline #11664 passed with stages
in 19 minutes and 46 seconds
......@@ -50,6 +50,7 @@ QUnit.module("Clone", {
"reads" : [10,10,15,15] ,
"top" : 3,
"germline" : "TRG",
"warn": "a warning",
"seg" : {
"3" : "IGHV4*01",
"4" : "IGHD2*03",
......@@ -123,6 +124,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(c2.isWarned(), false, "clone2 is not warned")
assert.equal(c3.isWarned(), 'warning', "clone3 is warned")
assert.equal(c3.getSequenceName(), "custom name", "get name clone3 : custom name");
assert.equal(c3.getCode(), "id3", "get code clone3 : 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