void () { assertEquals(0, EditDistance.optimalAlignment("", "", false)); assertEquals(2, EditDistance.optimalAlignment("", "ba", false)); assertEquals(1, EditDistance.optimalAlignment("ab", "ba", false)); assertEquals(1, EditDistance.optimalAlignment("AB", "ba", false)); assertEquals(3, EditDistance.optimalAlignment("ca", "abc", false)); assertEquals(2, EditDistance.optimalAlignment("abcd", "BADC", false)); assertEquals(3, EditDistance.optimalAlignment("Ca", "abc", false)); }