git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19a6c92
)
JAL-2742 test updates following review
author
kiramt
<k.mourao@dundee.ac.uk>
Wed, 11 Oct 2017 11:11:03 +0000
(12:11 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Wed, 11 Oct 2017 11:11:03 +0000
(12:11 +0100)
test/jalview/datamodel/CigarArrayTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/datamodel/CigarArrayTest.java
b/test/jalview/datamodel/CigarArrayTest.java
index
20dcc96
..
ceb0387
100644
(file)
--- a/
test/jalview/datamodel/CigarArrayTest.java
+++ b/
test/jalview/datamodel/CigarArrayTest.java
@@
-68,8
+68,13
@@
public class CigarArrayTest
// we are comparing a sequence to its own subsequence (the group) + hidden
// columns.
- CigarArray cig = new CigarArray(al, hc, sg1);
+ // no hidden columns case
+ CigarArray cig = new CigarArray(al, new HiddenColumns(), sg1);
String result = cig.getCigarstring();
+ assertEquals(result, "22M");
+
+ cig = new CigarArray(al, hc, sg1);
+ result = cig.getCigarstring();
assertEquals(result, "1M4D9M5D3M");
// group starts at hidden cols