From: kiramt Date: Wed, 11 Oct 2017 11:11:03 +0000 (+0100) Subject: JAL-2742 test updates following review X-Git-Tag: Release_2_10_3b1~111^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5b22db9e5b963c2b58b4e39d97e518ace2af0870;p=jalview.git JAL-2742 test updates following review --- diff --git a/test/jalview/datamodel/CigarArrayTest.java b/test/jalview/datamodel/CigarArrayTest.java index 20dcc96..ceb0387 100644 --- 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