public void IsEquivalent_InflectedFormOfWord_ReturnsTrue() { Word word = "monkey"; word.AddAlternateForm("monkeys"); Assert.IsTrue(word.IsEquivalent("monkeys")); }
public void IsEquivalent_DifferentWord_ReturnsFalse() { Word word = "monkey"; Assert.IsFalse(word.IsEquivalent("frog")); }
public void IsEquivalent_SameWord_ReturnsTrue() { Word word = "monkey"; Assert.IsTrue(word.IsEquivalent(word)); }