SimpleProfilePair extends SimpleProfile<S, C> implements ProfilePair<S, C> { public SimpleProfilePair(Profile<S, C> query, Profile<S, C> target, List<Step> sx, List<Step> sy) { super(query, target, sx, sy); this.query = query; this.target = target; } SimpleProfilePair(Profile<S, C> query, Profile<S, C> target, List<Step> sx, List<Step> sy); @Override Profile<S, C> getQuery(); @Override Profile<S, C> getTarget();  }
@Test public void testSimpleProfilePair() { ProfilePair<ProteinSequence, AminoAcidCompound> all = new SimpleProfilePair<ProteinSequence, AminoAcidCompound>(pair1, pair2, Arrays.asList(new Step[] { Step.COMPOUND, Step.COMPOUND, Step.COMPOUND, Step.COMPOUND, Step.GAP, Step.GAP}), Arrays.asList( new Step[] {Step.COMPOUND, Step.GAP, Step.COMPOUND, Step.COMPOUND, Step.COMPOUND, Step.COMPOUND})); assertEquals(all.toString(), String.format("ARND--%nARND--%n--HILK%nA-ND-R%n")); }