@Test
public void testSmallMatrices() {
DiagonalSequenceAlignmentNoMatrix dsanm = new DiagonalSequenceAlignmentNoMatrix(
"AGCGCGUU", "GUCAGACG", RnaAlphabet.getInstance(),
new IdentityScoringMatrix(RnaAlphabet.getInstance()), 24, 2);
dsanm.buildMatrix();
GlobalSequenceAlignment gsa = new GlobalSequenceAlignment("AGCGCGUU",
"GUCAGACG", RnaAlphabet.getInstance(),
new IdentityScoringMatrix(RnaAlphabet.getInstance()));
gsa.buildMatrix();
assertEquals(gsa.getAlignmentScore(), dsanm.getMaxScore(), 0);
}