public void GetPrimeNumbers_ListNotEmpty() { var prime = new PrimeNumberCheck(); prime.AddPrime(11); prime.AddPrime(2); prime.AddPrime(3); Assert.AreEqual("2, 3, 11", prime.GetPrimeNumbers()); }
public void AddPrime_UniqueNumbers() { var prime = new PrimeNumberCheck(); prime.AddPrime(11); prime.AddPrime(2); prime.AddPrime(3); Assert.AreEqual("2, 3, 11", prime.GetPrimeNumbers()); }