public void test_task_in_tomorrow_bucket() { var strategy = new TaskBucketingStrategy(); var task = new Task() { When = DateTime.Now.AddDays(1) }; var result = strategy.DetermineBucket(task); Assert.AreEqual("Tomorrow", result); }
public void test_task_not_in_today_bucket() { var strategy = new TaskBucketingStrategy(); var task = new Task() { When = DateTime.Now.AddDays(5) }; var result = strategy.DetermineBucket(task); Assert.AreNotEqual("Today", result); }