public void PicoPlaca_WithValidInMinutes_ReturnsFalse() { //Arrange string time = "09:70"; bool actual = false; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }
public void PicoPlaca_WithLast2DigitsLetter_ReturnsFalse() { //Arrange string time = "09:bb"; bool actual = false; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }
public void PicoPlaca_WithValidMinutes_ReturnsTrue() { //Arrange string time = "09:12"; bool actual = true; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }
public void PicoPlaca_WithInvalidSeparator_ReturnsFalse() { //Arrange string time = "09,00"; bool actual = false; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }
public void PicoPlaca_WithTimeWithInValidTime_ReturnsFalse() { //Arrange string time = "25:00"; bool actual = false; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }
public void PicoPlaca_WithTimeFirst2DigitsNumbers_ReturnsTrue() { //Arrange string time = "04:00"; bool actual = true; //Act var output = PicoPlaca.IsTimeValid(time); //Assert Assert.AreEqual(actual, output); }