示例#1
0
        public void TestThey()
        {
            ITextMacro sut = new They();

            Assert.That(sut.CapitalizedFormat(female), Is.EqualTo("She"));
            Assert.That(sut.Format(male), Is.EqualTo("he"));
            Assert.That(sut.Format(epicene), Is.EqualTo("they"));
            Assert.That(sut.Format(neuter), Is.EqualTo("it"));
        }
示例#2
0
        public void TestThey()
        {
            ITextMacro sut = new They();

            Assert.AreEqual("She", sut.CapitalizedFormat(female));
            Assert.AreEqual("he", sut.Format(male));
            Assert.AreEqual("they", sut.Format(epicene));
            Assert.AreEqual("it", sut.Format(neuter));
        }