public void testSameSimilarity() {
GlobalStemSimilarity simGlobal = new GlobalStemSimilarity(
new ScoringMatrix("matrix/tests/STEMS-test2.matrix",
StemStructureAlphabet.getInstance()),
new GlobalSequenceAlignment(10, 10, RnaAlphabet.getInstance(),
new IdentityScoringMatrix(RnaAlphabet.getInstance())));
AffineGapStemSimilarity simAffine = new AffineGapStemSimilarity(
new AffineGapScoringMatrix(
"matrix/tests/STEMS-test2-affine.matrix",
StemStructureAlphabet.getInstance()),
new GlobalSequenceAlignment(10, 10, RnaAlphabet.getInstance(),
new IdentityScoringMatrix(RnaAlphabet.getInstance())));
StemStructure str1 = new StemStructure(
">ID: add , START: 1 , STRAND: UNKNOWN , ENERGY: -14.1 (base)",
new CharBuffer("UCUACCGGGCAAAGUCCGACUAUGGG"), new CharBuffer(
"((((.(((((...)))))....))))"));