Ejemplo n.º 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)));
        }
Ejemplo n.º 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)));
        }