public void RetrieveExampleList_InvalidPartOfSpeechTest() { var expected = new List <string>() { string.Empty, string.Empty, string.Empty }; var examples = PartsOfSpeechHelper.RetrieveExampleList("not a word").ToList(); CollectionAssert.AreEqual(expected, examples); }
public void RetrieveExampleListTest() { var examples = PartsOfSpeechHelper.RetrieveExampleList("a noun").ToList(); CollectionAssert.DoesNotContain(examples, string.Empty); }