예제 #1
0
        public void IsExpired_NotExpiredTest()
        {
            DateTime now = DateTime.Now;
            DateTime due = DateTime.Now.AddHours(1);
            OneTimeSchedule s = new OneTimeSchedule(due);

            Assert.AreEqual(false, s.IsExpired);
        }
예제 #2
0
        public void DueDateTimeTest()
        {
            DateTime now = DateTime.Now;
            DateTime due = DateTime.Now.AddHours(1);
            OneTimeSchedule s = new OneTimeSchedule(due);

            Assert.AreEqual(due, s.DueDateTime);
        }