public void EndInShortSyllable_TestingDisturb_IsCountedAsShort() { // Arrange const string word = "disturb"; var stemmer = new PortersStemmer(); // Act var actual = stemmer.EndsInShortSyllable(word); // Assert Assert.IsFalse(actual); }
public void EndInShortSyllable_TestingEntrap_IsCountedAsShort() { // Arrange const string word = "entrap"; var stemmer = new PortersStemmer(); // Act var actual = stemmer.EndsInShortSyllable(word); // Assert Assert.IsTrue(actual); }