public void NullString() { Assert.Catch <ArgumentException>(() => Syllable.GetSyllableCount(null)); }
public void NullString() { Assert.Catch <NullReferenceException>(() => Syllable.IsMultisyllable(null)); }
public void Test(KeyValuePair <string, int> testCase) { Assert.AreEqual(testCase.Value, Syllable.GetSyllableCount(testCase.Key)); }
public void Test(KeyValuePair <string, int> testCase) { Assert.AreEqual(testCase.Value > 1, Syllable.IsMultisyllable(testCase.Key)); }