public void IsPalendromic_ReturnsExpectedResult(string characters, bool expectedResult) { bool actualResult = MathyHelper.IsPalendromic(characters); Assert.AreEqual(expectedResult, actualResult); }
public void IsDivisibleFrom1to20_ReturnsExpectedResult(int number, bool expectedResult) { bool actualResult = MathyHelper.IsDivisibleFrom1To20(number); Assert.AreEqual(expectedResult, actualResult); }
public void IsPrime_ReturnsExpectedResult(int number, bool expectedResult) { bool actualResult = MathyHelper.IsPrime(number); Assert.AreEqual(expectedResult, actualResult); }