public void TestMultipleConfigurationsOfHours() { CronExpressionBuilder bldr = new CronExpressionBuilder(); bldr.HourRange(20, 30); bldr.HourIncrements(0, 20); }
public void TestIncrementsOfHours() { CronExpressionBuilder bldr = new CronExpressionBuilder(); bldr.HourIncrements(0, 10); Assert.AreEqual("* * 0/10 ? * *", bldr.CronExpression); }