git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a8db4
)
JAL-4227 failing test for extended WUSS not filtered out for VARNA
author
James Procter
<j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:17 +0000
(15:48 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:17 +0000
(15:48 +0100)
test/jalview/gui/AppVarnaTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/gui/AppVarnaTest.java
b/test/jalview/gui/AppVarnaTest.java
index
17dbf5f
..
7936a4b
100644
(file)
--- a/
test/jalview/gui/AppVarnaTest.java
+++ b/
test/jalview/gui/AppVarnaTest.java
@@
-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>)"));
}
}