瀏覽代碼

Merge pull request #499 from mraediaz/issue-447

pythagorean-triplet : add hint to @Ignore annotations
FridaTveit 9 年之前
父節點
當前提交
8aa1f2ba2b
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. 6
    6
      exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java

+ 6
- 6
exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java 查看文件

@@ -21,7 +21,7 @@ public class PythagoreanTripletTest {
21 21
     }
22 22
 
23 23
     @Test
24
-    @Ignore
24
+    @Ignore("Remove to run test")
25 25
     public void shouldCalculateProduct() {
26 26
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
27 27
         final long expected = 60l;
@@ -30,21 +30,21 @@ public class PythagoreanTripletTest {
30 30
     }
31 31
 
32 32
     @Test
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     public void testIsPythagoreanOK() {
35 35
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
36 36
         assertTrue(sut.isPythagorean());
37 37
     }
38 38
 
39 39
     @Test
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41 41
     public void testIsPythagoreanFail() {
42 42
         PythagoreanTriplet sut = new PythagoreanTriplet(5, 6, 7);
43 43
         assertFalse(sut.isPythagorean());
44 44
     }
45 45
 
46 46
     @Test
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     public void shouldMakeTripletsUpToTen() {
49 49
         final List<Long> actual
50 50
                 = PythagoreanTriplet
@@ -60,7 +60,7 @@ public class PythagoreanTripletTest {
60 60
     }
61 61
 
62 62
     @Test
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     public void shouldMakeTripletsElevenToTwenty() {
65 65
         final List<Long> actual
66 66
                 = PythagoreanTriplet
@@ -77,7 +77,7 @@ public class PythagoreanTripletTest {
77 77
     }
78 78
 
79 79
     @Test
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81 81
     public void shouldMakeTripletsAndFilterOnSum() {
82 82
         final List<Long> actual
83 83
                 = PythagoreanTriplet