Пример #1
0
 public void ChangeTimingWithoutStart()
 {
     using (var tm = new RecurringHelper(100))
     {
         tm.ChangeTiming(TimeSpan.FromSeconds(100));
     }
 }
Пример #2
0
 public void ChangeTimingZero()
 {
     using (var tm = new RecurringHelper(100))
     {
         Assert.That(() => tm.ChangeTiming(TimeSpan.Zero), Throws.TypeOf <ArgumentException>());
     }
 }