public void testFindNext() { StringTheory theory = new StringTheory("Mares eat oats Mares eat oats"); Assert.True(theory.FindNext("eat") == 6, "1) Couldn't find the test string"); Assert.True(theory.FindNext("eat") == 0x15, "2) Couldn't find the test string"); theory.Reset(); Assert.True(theory.FindNext("eat") == 6, "3) Couldn't find the test string"); }