public void TestTheyre() { ITextMacro sut = new Theyre(); Assert.That(sut.CapitalizedFormat(female), Is.EqualTo("She's")); Assert.That(sut.Format(male), Is.EqualTo("he's")); Assert.That(sut.Format(epicene), Is.EqualTo("they're")); Assert.That(sut.Format(neuter), Is.EqualTo("it's")); }
public void TestTheyre() { ITextMacro sut = new Theyre(); Assert.AreEqual("She's", sut.CapitalizedFormat(female)); Assert.AreEqual("he's", sut.Format(male)); Assert.AreEqual("they're", sut.Format(epicene)); Assert.AreEqual("it's", sut.Format(neuter)); }