public void Test_IsNumberValide_valideNumber() { //Arrange int val = 50, minVal = 10, maxVal = 100; //Act bool testResult = PropretyValidation.IsNumberValide(val, minVal, maxVal); //Assert Assert.IsTrue(testResult); }
public void Test_IsNumberValide_numbertoBig() { //Arrange int val = 110, minVal = 10, maxVal = 100; //Act bool testResult = PropretyValidation.IsNumberValide(val, minVal, maxVal); //Assert Assert.IsFalse(testResult); }