|
|
@@ -23,25 +23,25 @@ public class PrimeCalculatorTest {
|
|
23
|
23
|
assertThat(primeCalculator.nth(1), is(2));
|
|
24
|
24
|
}
|
|
25
|
25
|
|
|
26
|
|
- @@Ignore("Remove to run test")
|
|
|
26
|
+ @Ignore("Remove to run test")
|
|
27
|
27
|
@Test
|
|
28
|
28
|
public void testSecondPrime() {
|
|
29
|
29
|
assertThat(primeCalculator.nth(2), is(3));
|
|
30
|
30
|
}
|
|
31
|
31
|
|
|
32
|
|
- @@Ignore("Remove to run test")
|
|
|
32
|
+ @Ignore("Remove to run test")
|
|
33
|
33
|
@Test
|
|
34
|
34
|
public void testSixthPrime() {
|
|
35
|
35
|
assertThat(primeCalculator.nth(6), is(13));
|
|
36
|
36
|
}
|
|
37
|
37
|
|
|
38
|
|
- @@Ignore("Remove to run test")
|
|
|
38
|
+ @Ignore("Remove to run test")
|
|
39
|
39
|
@Test
|
|
40
|
40
|
public void testBigPrime() {
|
|
41
|
41
|
assertThat(primeCalculator.nth(10001), is(104743));
|
|
42
|
42
|
}
|
|
43
|
43
|
|
|
44
|
|
- @@Ignore("Remove to run test")
|
|
|
44
|
+ @Ignore("Remove to run test")
|
|
45
|
45
|
@Test
|
|
46
|
46
|
public void testUndefinedPrime() {
|
|
47
|
47
|
thrown.expect(IllegalArgumentException.class);
|