private void CountTest(TesterData <TesterCountTestInputs> input) { var result = input.tester.Count(input.parameters.Numbers); Assert.AreEqual(input.parameters.Expected, result); }
private void CheckTest(TesterData <TesterCheckTestInputs> input) { bool result = input.tester.Check(input.parameters.Number1, input.parameters.Number2); Assert.AreEqual(input.parameters.Expected, result); }
public TesterCountTests(TesterData <TesterCountTestInputs> input) { this.input = input; }
public TesterCheckTests(TesterData <TesterCheckTestInputs> input) { this.input = input; }