@Test public void test3(){ String str1 = "running"; String str2 = "swimming"; int res = Bag.distance(str1,str2); Asserts.assertEquals(res, 5); }
public static int distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }
Bag { public static int distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); } }
Bag { public static int distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  }
Bag { public static int distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  static int distance(String str1, String str2); static int distance(int str1[], int str2[]); }
Bag { public static int distance (String str1, String str2){ return distance(Transformations.convertStringToIntArray(str1),Transformations.convertStringToIntArray(str2)); }  static int distance(String str1, String str2); static int distance(int str1[], int str2[]);  }