Пример #1
0
        public void GetCorrectRangeTest(string firstDate, string secondDate, string expectedRange)
        {
            DateRange range = new DateRange(DateRange.ConvertToDate(firstDate), DateRange.ConvertToDate(secondDate));

            range.FullDate = range.CreateRange(range.FirstDate, range.SecondDate);

            Assert.Equal(expectedRange, range.FullDate);
        }