瀏覽代碼

Merge pull request #483 from morrme/ignorenp

nth prime: add hint to @Ignore annotations
FridaTveit 9 年之前
父節點
當前提交
c5c427d402
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      exercises/nth-prime/src/test/java/PrimeCalculatorTest.java

+ 4
- 4
exercises/nth-prime/src/test/java/PrimeCalculatorTest.java 查看文件

@@ -23,25 +23,25 @@ public class PrimeCalculatorTest {
23 23
         assertThat(primeCalculator.nth(1), is(2));
24 24
     }
25 25
 
26
-    @Ignore
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
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
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
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void testUndefinedPrime() {
47 47
         thrown.expect(IllegalArgumentException.class);