void () { assertEquals(-1, new StringSearcher("1", false, false).scan("SIL")); assertEquals(0, new StringSearcher("S", false, false).scan("SIL")); assertEquals(2, new StringSearcher("L", false, false).scan("SIL")); assertEquals(0, new StringSearcher("SI", false, false).scan("SIL")); assertEquals(-1, new StringSearcher("SL", false, false).scan("SIL")); assertEquals(1, new StringSearcher("IL", false, false).scan("SIL")); assertEquals(0, new StringSearcher("SIL", false, false).scan("SIL")); assertEquals(-1, new StringSearcher("0SIL", false, false).scan("SIL")); }