Beispiel #1
0
        public void PrimeGetNextNonPrime()
        {
            PrimeNumbers prime = new PrimeNumbers();
            int          input = 105;

            prime.GetNext(input);
        }
Beispiel #2
0
 public void PrimeShouldPrintNextNumber()
 {
     PrimeNumbers prime = new PrimeNumbers();
     int input = 2;
     int expected = 3;
     int actual = prime.GetNext(input);
     Assert.AreEqual(expected, actual);
 }
Beispiel #3
0
        public void PrimeShouldPrintNextNumber()
        {
            PrimeNumbers prime    = new PrimeNumbers();
            int          input    = 2;
            int          expected = 3;
            int          actual   = prime.GetNext(input);

            Assert.AreEqual(expected, actual);
        }