示例#1
0
        public void EndOfWeekTest()
        {
            var date = DateUtilities.EndOfWeek(new DateTime(2015, 1, 1));

            Assert.AreEqual(new DateTime(2015, 1, 3), date);

            date = DateUtilities.EndOfWeek(new DateTime(2015, 12, 25));
            Assert.AreEqual(new DateTime(2015, 12, 26), date);
        }