JAL-2154 test that verifyAlignment fails for duplicate entries for same SequenceI...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 22 Aug 2016 10:40:46 +0000 (11:40 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 22 Aug 2016 10:40:46 +0000 (11:40 +0100)
test/jalview/datamodel/AlignmentTest.java

index 003f2aa..915d860 100644 (file)
@@ -397,6 +397,9 @@ public class AlignmentTest
             al,
             true,
             "verify should have passed once all sequences involved in alCodonFrame were added to dataset");
+    al.getDataset().addSequence(sqanotherout);
+    assertVerifyAlignment(al, false,
+            "verify should have failed when a sequence was added twice to the dataset");
 
   }
   /*