public void IsHappyPrime_GivenNonHappyPrimes_ReturnsFalse(int unhappyPrime) { var hp = new HappyPrimes(); var actualResult = hp.IsHappyPrime(unhappyPrime); var expectedResult = false; Assert.AreEqual(expectedResult, actualResult); }
public void IsHappyPrime_GivenNonPrimes_ReturnsFalse(int notAPrimeNumber) { var hp = new HappyPrimes(); var actualResult = hp.IsHappyPrime(notAPrimeNumber); var expectedResult = false; Assert.AreEqual(expectedResult, actualResult); }
public void IsHappyPrime_GivenHappyPrimes_ReturnsTrue(int happyPrime) { var hp = new HappyPrimes(); var actualResult = hp.IsHappyPrime(happyPrime); var expectedResult = true; Assert.AreEqual(expectedResult, actualResult); }