From df3c38b1b1e4fb3a64d2ec611461a5a858e59674 Mon Sep 17 00:00:00 2001 From: kiramt Date: Thu, 21 Sep 2017 09:08:22 +0100 Subject: [PATCH] JAL-2674 Reset tests --- test/jalview/datamodel/HiddenColumnsTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); -- 1.7.10.2