JAL-2154 additional test that removing a duplicate sequence reinstates dataset refere...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 29 Aug 2016 10:59:47 +0000 (11:59 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 29 Aug 2016 11:00:23 +0000 (12:00 +0100)
test/jalview/datamodel/AlignmentTest.java

index 2863340..fe76df5 100644 (file)
@@ -419,6 +419,9 @@ public class AlignmentTest
     al.getDataset().addSequence(sqanotherout);
     assertVerifyAlignment(al, false,
             "verify should have failed when a sequence was added twice to the dataset");
+    al.getDataset().deleteSequence(sqanotherout);
+    assertVerifyAlignment(al, true,
+            "verify should have passed after duplicate entry for sequence was removed");
 
   }
   /*