From: kiramt Date: Thu, 21 Sep 2017 08:08:22 +0000 (+0100) Subject: JAL-2674 Reset tests X-Git-Tag: Release_2_10_4~55^2~1^2~117 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=df3c38b1b1e4fb3a64d2ec611461a5a858e59674;p=jalview.git JAL-2674 Reset tests --- diff --git a/test/jalview/datamodel/HiddenColumnsTest.java b/test/jalview/datamodel/HiddenColumnsTest.java index 6b4e05d..fbf565f 100644 --- 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);