public void validarValido() { var calculo = new Calculo("5", "2", "1"); Assert.AreEqual(calculo.validar("5"), true); }
public void validarZero2() { var calculo = new Calculo(); Assert.AreEqual(calculo.validar("-0"), true); }
public void validarInvalido2() { var calculo = new Calculo("5", "2", "1"); Assert.AreEqual(calculo.validar("123456789"), false); }
public void validarGrandeNegativo() { var calculo = new Calculo(); Assert.AreEqual(calculo.validar("-23456789"), true); }
public void validarDecimalNegativo() { var calculo = new Calculo(); Assert.AreEqual(calculo.validar("-12,45"), true); }
public void validarCaixavazia() { var calculo = new Calculo("5", "2", "1"); Assert.AreEqual(calculo.validar(""), true); }
public void testeInicial7() { var calculo = new Calculo("5", "2", "1"); Assert.AreNotEqual(calculo.validar("5"), false); }