Example #1
0
 @Test
 public void shouldNotBePrime() {
   Boolean actual = primeTillNum.checkPrime(20);
   Assert.assertEquals(Boolean.FALSE, actual);
 }
Example #2
0
 @Test
 public void shouldBePrime() {
   Boolean actual = primeTillNum.checkPrime(7);
   Assert.assertEquals(Boolean.TRUE, actual);
 }