Пример #1
0
        public void WorksForTheDayMonthExceptLast()
        {
            var result = Week4.FollowingDate("13", "2", "2018");

            Assert.AreEqual((14, 2, 2018), result);
        }
Пример #2
0
        public void WorksForLastDayMonthDecember()
        {
            var result = Week4.FollowingDate("31", "12", "2018");

            Assert.AreEqual((1, 1, 2019), result);
        }
Пример #3
0
        public void WorksForTheLastDayMonthExceptDecember()
        {
            var result = Week4.FollowingDate("28", "2", "2018");

            Assert.AreEqual((1, 3, 2018), result);
        }
Пример #4
0
 public void FailsWithInvalidDayAccordinMonth()
 {
     var result = Week4.FollowingDate("31", "2", "2018");
 }
Пример #5
0
 public void FailsWithInvalidDate()
 {
     var result = Week4.FollowingDate("32", "12", "2018");
 }
Пример #6
0
 public void FailsWithTextValues()
 {
     var result = Week4.FollowingDate("pepe", "12", "2018");
 }