예제 #1
0
 public void CheckTimeOK() => Assert.IsTrue(StringConversion.CheckTime(new[] { "10:00:00", "10:00", "1:00" }, ":"));
예제 #2
0
 public void CheckTimeNotOK() => Assert.IsFalse(StringConversion.CheckTime(new[] { "10:00:00", "Test", "1:00" }, ":"));
예제 #3
0
 public void CheckTimeNull() => Assert.IsFalse(StringConversion.CheckTime(null, ""));
예제 #4
0
 public void CheckTimeDefault()
 {
     Assert.IsTrue(StringConversion.CheckTime(new[] { "10:00:00", "10:00", "1:00" }, ""));
 }