public void RemoveSPluralSuffix_WithWordEndingInApostropheSApostrophe_RemovesSuffix() { const string word = "holy's'"; var stemmer = new EnglishPorter2Stemmer(); // Act var actual = stemmer.Step0RemoveSPluralSuffix(word); // Assert Assert.AreEqual("holy", actual); }
public void RemoveSPluralSuffix_WithWordEndingInApostrophe_RemovesSuffix() { const string word = "holy'"; var stemmer = new EnglishPorter2Stemmer(); // Act var actual = stemmer.Step0RemoveSPluralSuffix(word); // Assert Assert.AreEqual("holy", actual); }