FractionalIdentityScorer extends AbstractScorer implements PairwiseSequenceScorer<S, C> { @Override public int getMaxScore() { if (aligner != null) { align(); } return max; } 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 testGetMaxScore() { assertEquals(scorer1.getMaxScore(), 4); assertEquals(scorer2.getMaxScore(), 4); }