public void Test_isUsedOperatorValid_when_method_input_greater_then_10_then_method_returns_false() { Random random = new Random(); ValidationFunctions functions = new ValidationFunctions(); bool result = functions.isUsedOperatorValid(random.Next(11, 1000)); Assert.AreEqual(false, result); }
public bool Test_isUsedOperatorValid(int output) { ValidationFunctions functions = new ValidationFunctions(); return(functions.isUsedOperatorValid(output)); }