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