@Test public void basicTest() { Assert.assertTrue(CyclicRotationString.isCyclicRotation("abc", "bca")); Assert.assertTrue(CyclicRotationString.isCyclicRotation("abc", "cab")); Assert.assertTrue(CyclicRotationString.isCyclicRotation("abcd", "cdab")); Assert.assertFalse(CyclicRotationString.isCyclicRotation("abc", "bac")); Assert.assertFalse(CyclicRotationString.isCyclicRotation("abc", "ab")); }
public static boolean isCyclicRotation(String a, String b) { return false; }
CyclicRotationString { public static boolean isCyclicRotation(String a, String b) { return false; } }
CyclicRotationString { public static boolean isCyclicRotation(String a, String b) { return false; }  }
CyclicRotationString { public static boolean isCyclicRotation(String a, String b) { return false; }  static boolean isCyclicRotation(String a, String b); }
CyclicRotationString { public static boolean isCyclicRotation(String a, String b) { return false; }  static boolean isCyclicRotation(String a, String b);  }