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))); }
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))); }