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:
2904177
)
JAL-2674 Reset tests
author
kiramt
<k.mourao@dundee.ac.uk>
Thu, 21 Sep 2017 08:08:22 +0000
(09:08 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Thu, 21 Sep 2017 08:08:22 +0000
(09:08 +0100)
test/jalview/datamodel/HiddenColumnsTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/datamodel/HiddenColumnsTest.java
b/test/jalview/datamodel/HiddenColumnsTest.java
index
6b4e05d
..
fbf565f
100644
(file)
--- a/
test/jalview/datamodel/HiddenColumnsTest.java
+++ b/
test/jalview/datamodel/HiddenColumnsTest.java
@@
-189,7
+189,7
@@
public class HiddenColumnsTest
HiddenColumns cs = new HiddenColumns();
int[] visible = cs.getVisibleContigs(3, 10);
- assertEquals("[]", Arrays.toString(visible));
+ assertEquals("[3, 9]", Arrays.toString(visible));
cs.hideColumns(3, 6);
cs.hideColumns(8, 9);
@@
-1267,9
+1267,6
@@
public class HiddenColumnsTest
ColumnSelection sel = new ColumnSelection();
h.revealAllHiddenColumns(sel);
h.hideColumns(0, 30);
- result = h.subtractVisibleColumns(31, 13);
- assertEquals(-18, result);
-
result = h.subtractVisibleColumns(31, 0);
assertEquals(-31, result);