Baire { public static double distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  static double distance(String str1, String str2); static double distance(int[] str1, int[] str2);  }
@Test public void test1(){ String str1 = "Test String1"; String str2 = "Test String2"; double res = Baire.distance(str1,str2); Asserts.assertEquals(res, 0.083333333); }
@Test public void test2(){ String str1 = "Test Array"; String str2 = "Test String"; double res = Baire.distance(str1,str2); Asserts.assertEquals(res, 0.166666667); }
@Test public void test3(){ String str1 = "Array"; String str2 = "String"; double res = Baire.distance(str1,str2); Asserts.assertEquals(res, 1); }