Exemplo n.º 1
0
 public void testCountPhrase()
 {
     StringTheory theory = new StringTheory("Mares eat oats and does eat oats and little lambs eat ivy.");
     Assert.True(theory.CountPhrase("eat") == 3, "Reported number of spaces was wrong.");
 }