From 5b22db9e5b963c2b58b4e39d97e518ace2af0870 Mon Sep 17 00:00:00 2001 From: kiramt Date: Wed, 11 Oct 2017 12:11:03 +0100 Subject: [PATCH] JAL-2742 test updates following review --- test/jalview/datamodel/CigarArrayTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 1.7.10.2