public void ItShouldReturn83GivenIPassIn89() { var primeCalculator = new PrimeNumberCalculator(); Assert.AreEqual(89, primeCalculator.GetNextPrime(83)); }
public void ItShouldReturn7GivenIPassIn5() { var primeCalculator = new PrimeNumberCalculator(); Assert.AreEqual(7, primeCalculator.GetNextPrime(5)); }
public void ItShouldReturn13GivenIPassIn17() { var primeCalculator = new PrimeNumberCalculator(); Assert.AreEqual(17, primeCalculator.GetNextPrime(13)); }