FractionalIdentityScorer extends AbstractScorer implements PairwiseSequenceScorer<S, C> { @Override public int getScore() { if (aligner != null) { align(); } return score; } FractionalIdentityScorer(PairwiseSequenceAligner<S, C> aligner);  FractionalIdentityScorer(SequencePair<S, C> pair); @Override S getQuery(); @Override S getTarget(); @Override int getMaxScore(); @Override int getMinScore(); @Override int getScore();  }
@Test public void testGetScore() { assertEquals(scorer1.getScore(), 1); assertEquals(scorer2.getScore(), 4); }