Exemplo n.º 1
0
        public void TimeIntervalLessThanAnHour_ShouldValidateInterval(string date1, string date2, bool expected)
        {
            //arrange & act
            var result = DateTimeExtension.TimeIntervalLessThanAnHour(DateTime.Parse(date1), DateTime.Parse(date2));

            //assert
            Assert.Equal(expected, result);
        }