@Test
public void testLeftHardClip() throws IllegalSymbolException, IndexOutOfBoundsException, IllegalAlphabetException, AlleleException {

    temp = allele4.leftHardClip("a");
    assertEquals(temp.getStart(), 15);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "ttttt");
    temp = allele4.leftHardClip("aa");
    assertEquals(temp.getStart(), 14);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "attttt");
    temp = allele4.leftHardClip("aaaaa");
    assertEquals(temp.getStart(), 15);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "ttttt");
    temp = allele4.leftHardClip("aaaaat");
    assertEquals(temp.getStart(), 16);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "tttt");
    temp = allele4.leftHardClip("ttttt");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "aaaaattttt");
}