ChapmanLengthDeviation { public static double distance(int[] str1, int[] str2){ return chapmanLengthDeviation.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); }  static double distance(int[] str1, int[] str2); static double distance(String str1, String str2); static uk.ac.shef.wit.simmetrics.similaritymetrics.ChapmanLengthDeviation chapmanLengthDeviation; }
@Test public void test1(){ String str1 = "Test String1"; String str2 = "Test String2"; double res = ChapmanLengthDeviation.distance(str1,str2); Asserts.assertEquals(res, 1); }