Просмотр исходного кода

pythagorean-triplet : add hint to @Ignore annotations

#473
Melany Diaz 9 лет назад
Родитель
Сommit
7493ecaed7
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
     }
21
     }
22
 
22
 
23
     @Test
23
     @Test
24
-    @Ignore
24
+    @Ignore("Remove to run test")
25
     public void shouldCalculateProduct() {
25
     public void shouldCalculateProduct() {
26
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
26
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
27
         final long expected = 60l;
27
         final long expected = 60l;
30
     }
30
     }
31
 
31
 
32
     @Test
32
     @Test
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34
     public void testIsPythagoreanOK() {
34
     public void testIsPythagoreanOK() {
35
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
35
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
36
         assertTrue(sut.isPythagorean());
36
         assertTrue(sut.isPythagorean());
37
     }
37
     }
38
 
38
 
39
     @Test
39
     @Test
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41
     public void testIsPythagoreanFail() {
41
     public void testIsPythagoreanFail() {
42
         PythagoreanTriplet sut = new PythagoreanTriplet(5, 6, 7);
42
         PythagoreanTriplet sut = new PythagoreanTriplet(5, 6, 7);
43
         assertFalse(sut.isPythagorean());
43
         assertFalse(sut.isPythagorean());
44
     }
44
     }
45
 
45
 
46
     @Test
46
     @Test
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48
     public void shouldMakeTripletsUpToTen() {
48
     public void shouldMakeTripletsUpToTen() {
49
         final List<Long> actual
49
         final List<Long> actual
50
                 = PythagoreanTriplet
50
                 = PythagoreanTriplet
60
     }
60
     }
61
 
61
 
62
     @Test
62
     @Test
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64
     public void shouldMakeTripletsElevenToTwenty() {
64
     public void shouldMakeTripletsElevenToTwenty() {
65
         final List<Long> actual
65
         final List<Long> actual
66
                 = PythagoreanTriplet
66
                 = PythagoreanTriplet
77
     }
77
     }
78
 
78
 
79
     @Test
79
     @Test
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81
     public void shouldMakeTripletsAndFilterOnSum() {
81
     public void shouldMakeTripletsAndFilterOnSum() {
82
         final List<Long> actual
82
         final List<Long> actual
83
                 = PythagoreanTriplet
83
                 = PythagoreanTriplet