Пример #1
0
        public void EndOfDayFunctionCorrectlyReturnsRightTime()
        {
            var date     = new DateTime(2010, 10, 10, 10, 10, 10);
            var endOfDay = new DateTime(2010, 10, 10, 23, 59, 59);
            var result   = DateTimeExtensions.EndOfDay(date);

            result.Should().Be(endOfDay);
        }