@Test public void test1(){ String str1 = "Test String1"; String str2 = "Test String2"; double parameter = 0.23; double res = GeneralizedCantor.distance(parameter,str1,str2); Asserts.assertEquals(res, 0.00000002191462443202032); }
public static double distance (double a, String str1, String str2){ return distance(a, Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }
GeneralizedCantor { public static double distance (double a, String str1, String str2){ return distance(a, Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); } }
GeneralizedCantor { public static double distance (double a, String str1, String str2){ return distance(a, Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  }
GeneralizedCantor { public static double distance (double a, String str1, String str2){ return distance(a, Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  static double distance(double a, String str1, String str2); static double distance(double a, int[] str1, int[] str2); }
GeneralizedCantor { public static double distance (double a, String str1, String str2){ return distance(a, Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  static double distance(double a, String str1, String str2); static double distance(double a, int[] str1, int[] str2);  }