public void TestEvenNumberForTrueResult(int x) { var cs = new CalcService(); var actualResult = cs.IsEven(x); Assert.True(actualResult); }
public void TestEvenNumberWithBoolCompare(int x, bool expectedResult) { var cs = new CalcService(); var actualResult = cs.IsEven(x); Assert.Equal(expectedResult, actualResult); }