public void IsAspect(string word, bool expected) { var result = instance.IsAspect(new TestWordItem(word)); Assert.AreEqual(expected, result); result = instance.IsAspect(new TestWordItem("Unknown", word)); Assert.AreEqual(expected, result); }
public void IsAspect(string word, bool expected) { var result = instance.IsAspect(new TestWordItem { Text = word }); Assert.AreEqual(expected, result); result = instance.IsAspect(new TestWordItem { Text = "Unknown", Stemmed = word }); Assert.AreEqual(expected, result); }