@Test
public void testValueOf() {

    HighScoringPair highScoringPair = valueOf("source\ttarget\t99.0\t100\t1\t2\t1\t100\t2\t101\t0.1\t1.0");
    assertEquals("source", highScoringPair.source());
    assertEquals("target", highScoringPair.target());
    assertEquals(99.0d, highScoringPair.percentIdentity(), 0.1d);
    assertEquals(100L, highScoringPair.alignmentLength());
    assertEquals(1, highScoringPair.mismatches());
    assertEquals(2, highScoringPair.gapOpens());
    assertEquals(1L, highScoringPair.sourceStart());
    assertEquals(100L, highScoringPair.sourceEnd());
    assertEquals(2L, highScoringPair.targetStart());
    assertEquals(101L, highScoringPair.targetEnd());
    assertEquals(0.1d, highScoringPair.evalue(), 0.1d);
    assertEquals(1.0d, highScoringPair.bitScore(), 0.1d);
    assertNotNull(highScoringPair.toString());
}