@Test
public void searchForMatchBaseCaseShortGroupArrayTest() throws IOException {

  final String s1 = "asdf;1234;this should match;5678";
  final String s2 = "hkjl.9999.00vbn,``'=-this should match.9900-mmmnmn,,,.x??'";
  final byte[] s1b = s1.getBytes(Charset.forName("US-ASCII"));
  final byte[] s2b = s2.getBytes(Charset.forName("US-ASCII"));
  final RandomAccessObject s1ro = new RandomAccessObject.RandomAccessByteArrayObject(s1b);
  final RandomAccessObject s2ro = new RandomAccessObject.RandomAccessByteArrayObject(s2b);
  final RandomAccessObject groupArrayRO =
      intArrayToRandomAccessObject(BsDiffTestData.SHORT_GROUP_ARRAY);
  BsDiff.Match ret = BsDiff.searchForMatchBaseCase(groupArrayRO, s1ro, s2ro, 0, 0, 12);
  Assert.assertEquals(0, ret.length);
  Assert.assertEquals(12, ret.start);
  ret = BsDiff.searchForMatchBaseCase(groupArrayRO, s1ro, s2ro, 0, 9, 10);
  Assert.assertEquals(0, ret.length);
  Assert.assertEquals(10, ret.start);
}