public void CanChenNonLemma() { Lematizator lematizator = new Lematizator(); List <string> words = new List <string>() { "lists", "sang", "analyzed" }; bool result = !lematizator.IsLemma(words[0]) && !lematizator.IsLemma(words[1]) && !lematizator.IsLemma(words[2]); Assert.IsTrue(result); }
public void CanCheckLemma() { Lematizator lematizator = new Lematizator(); List <string> words = new List <string>() { "or", "typical", "song" }; bool result = lematizator.IsLemma(words[0]) && lematizator.IsLemma(words[1]) && lematizator.IsLemma(words[2]); Assert.IsTrue(result); }