コード例 #1
0
 public void TestInitialize()
 {
     _processor = new RepeatProcessor();
 }
コード例 #2
0
 public void RepeatProcessorCanParseTimeString()
 {
     Assert.AreEqual(RepeatProcessor.GetTime("10min"), 600000);
     Assert.AreEqual(RepeatProcessor.GetTime("6sec"), 6000);
     Assert.AreEqual(RepeatProcessor.GetTime("2h"), 7200000);
 }