コード例 #1
0
        public void TestThemself()
        {
            var sut = new Themself();

            Assert.That(sut.Format(female), Is.EqualTo("herself"));
            Assert.That(sut.Format(male), Is.EqualTo("himself"));
            Assert.That(sut.Format(epicene), Is.EqualTo("themself"));
            Assert.That(sut.Format(neuter), Is.EqualTo("itself"));
        }
コード例 #2
0
        public void TestThemself()
        {
            var sut = new Themself();

            Assert.AreEqual("herself", sut.Format(female));
            Assert.AreEqual("himself", sut.Format(male));
            Assert.AreEqual("themself", sut.Format(epicene));
            Assert.AreEqual("itself", sut.Format(neuter));
        }