public void WorksForNotPrimeNumber() { bool result = Week3.IsPrimeNumber("10"); Assert.AreEqual(false, result); }
public void WorksForPrimeNumber() { bool result = Week3.IsPrimeNumber("5"); Assert.AreEqual(true, result); }
public void ThreeIsPrime() { Assert.AreEqual(true, Week3.IsPrimeNumber("3")); }
public void TwoIsPrime() { Assert.AreEqual(true, Week3.IsPrimeNumber("2")); }
public void FailsOutOfRage1To100() { bool result = Week3.IsPrimeNumber("101"); }
public void FailsWithTextValue() { bool result = Week3.IsPrimeNumber("pepe"); }