public void CheckNegativeNumberTest_NegativeNumber_ReturnFalse() { DataValidation dataValidation = new DataValidation(); bool factResult; int number = -15; factResult = dataValidation.CheckNegativeNumber(number); Assert.IsFalse(factResult); }
public void CheckNegativeNumberTest_PositiveNumber_ReturnTrue() { DataValidation dataValidation = new DataValidation(); bool factResult; int number = 5; factResult = dataValidation.CheckNegativeNumber(number); Assert.IsTrue(factResult); }