Пример #1
0
        public void FirstTest()
        {
            DateTime birthday = new DateTime(2015, 10, 16);

            StringAssert.AreEqualIgnoringCase(KataTest.HowOld(birthday), Kata.HowOld(birthday), string.Format("The output expect {0} but it returns {1}", KataTest.HowOld(birthday), Kata.HowOld(birthday)));
        }
Пример #2
0
        public void ThirdTest()
        {
            DateTime birthday = new DateTime(1983, 09, 21);

            StringAssert.AreEqualIgnoringCase(KataTest.HowOld(birthday), Kata.HowOld(birthday), string.Format("The output expect {0} but it returns {1}", KataTest.HowOld(birthday), Kata.HowOld(birthday)));
        }