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