public class TestSequenceAlignmentAndWithOutMatrix {
@Test
public void testAffineSmall1() {
AffineGapGlobalSequenceAlignment affine = new AffineGapGlobalSequenceAlignment(
10, 10, RnaAlphabet.getInstance(), new AffineGapScoringMatrix(
"matrix/NUC-Affine-sim-RIBOSUM85-60.matrix",
RnaAlphabet.getInstance()));
affine.setSequences("GA", "");
affine.buildMatrix();
Assert.assertEquals(-3.0, affine.getAlignmentScore(), 0.001);