public void GetDateRangeTest()
 {
     SchedulerWeekModel_Accessor target = new SchedulerWeekModel_Accessor(displayInfo, date, DisplayedDays.Week);
     DateTime from;
     DateTime to;
     target.GetDateRange(date, out from, out to);
     Assert.AreEqual(new DateTime(2009, 12, 28), from, "'from' must be set to 12/28/2009.");
     Assert.AreEqual(new DateTime(2010, 1, 3), to, "'to' must be set to 1/3/2010.");
 }
        public void GetDateRangeTest()
        {
            SchedulerWeekModel_Accessor target = new SchedulerWeekModel_Accessor(displayInfo, date, DisplayedDays.Week);
            DateTime from;
            DateTime to;

            target.GetDateRange(date, out from, out to);
            Assert.AreEqual(new DateTime(2009, 12, 28), from, "'from' must be set to 12/28/2009.");
            Assert.AreEqual(new DateTime(2010, 1, 3), to, "'to' must be set to 1/3/2010.");
        }