@Test public void basicTest() { assertEquals(2, TandemRepeat.solve("abcab", "abcabcababcaba")); assertEquals(3, TandemRepeat.solve("abcab", "abcababcababcab")); assertEquals(0, TandemRepeat.solve("abcab", "b")); assertEquals(0, TandemRepeat.solve("abcab", "abcbab")); assertEquals(-1, TandemRepeat.solve("", "b")); }
public static int solve(String pattern, String text) { return 0; }
TandemRepeat { public static int solve(String pattern, String text) { return 0; } }
TandemRepeat { public static int solve(String pattern, String text) { return 0; }  }
TandemRepeat { public static int solve(String pattern, String text) { return 0; }  static int solve(String pattern, String text); }
TandemRepeat { public static int solve(String pattern, String text) { return 0; }  static int solve(String pattern, String text);  }