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