@Test
public void getDistanceXToXX() {

    assertThat(levenshteinMatch("xx","x").getDistance(), is(1));
    assertThat(levenshteinMatch("xx","x ").getDistance(), is(1));
    assertThat(levenshteinMatch("xx"," x").getDistance(), is(1));
    assertThat(levenshteinMatch("xx"," x ").getDistance(), is(1));
    assertThat(levenshteinMatch("xx","y x ").getDistance(), is(1));
    assertThat(levenshteinMatch("xx"," x y").getDistance(), is(1));
    assertThat(levenshteinMatch("xx","y x y").getDistance(), is(1));
    assertThat(levenshteinMatch("Xx","x").getDistance(), is(1));
    assertThat(levenshteinMatch("xx","X").getDistance(), is(1));
}