TeStereo report

@Test public void testPatternMatching1() throws Exception { String text="blabla d is the word"; String pattern="d"; byte[] b2=ContentUtil.toAsciiByteArray(pattern); BufferedLineReaderInputStream inbuffer=create(text); inbuffer.fillBuffer(); int i=inbuffer.indexOf(b2); Assert.assertEquals(7,i); inbuffer.close(); }