JAL-4227 failing test for extended WUSS not filtered out for VARNA
authorJames Procter <j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:17 +0000 (15:48 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:17 +0000 (15:48 +0100)
test/jalview/gui/AppVarnaTest.java

index 17dbf5f..7936a4b 100644 (file)
@@ -46,8 +46,11 @@ public class AppVarnaTest
     assertSame(struct, replaced);
     assertEquals("..{.([.<.].}.>)",
             AppVarna.replaceOddGaps("..{ ([*<-]?} >)"));
-    assertEquals("....", AppVarna.replaceOddGaps("cgta"));
     assertEquals("", AppVarna.replaceOddGaps(""));
     assertNull(AppVarna.replaceOddGaps(null));
+    assertEquals("..{a([.<.].}A>)",
+            AppVarna.replaceOddGaps("  {a([*<-]?}A>)"));
+    assertEquals("..{B([.<.].}b>)",
+            AppVarna.replaceOddGaps("  {B([*<-]?}b>)"));
   }
 }