Skip to content

Commit c53b608

Browse files
authored
ChangeCalculatorTest : add hint to @ignore annotations
exercism#443
1 parent 2c2f2ee commit c53b608

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎exercises/change/src/test/java/ChangeCalculatorTest.java‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void testChangeThatCanBeGivenInASingleCoin() {
2626
changeCalculator.computeMostEfficientChange(25));
2727
}
2828

29-
@Ignore
29+
@Ignore("Remove to run test")
3030
@Test
3131
public void testChangeThatMustBeGivenInMultipleCoins() {
3232
ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 5, 10, 25, 100));
@@ -36,7 +36,7 @@ public void testChangeThatMustBeGivenInMultipleCoins() {
3636
changeCalculator.computeMostEfficientChange(15));
3737
}
3838

39-
@Ignore
39+
@Ignore("Remove to run test")
4040
@Test
4141
// https://en.wikipedia.org/wiki/Change-making_problem#Greedy_method
4242
public void testLilliputianCurrencyForWhichGreedyAlgorithmFails() {
@@ -47,7 +47,7 @@ public void testLilliputianCurrencyForWhichGreedyAlgorithmFails() {
4747
changeCalculator.computeMostEfficientChange(23));
4848
}
4949

50-
@Ignore
50+
@Ignore("Remove to run test")
5151
@Test
5252
// https://en.wikipedia.org/wiki/Change-making_problem#Greedy_method
5353
public void testLowerElbonianCurrencyForWhichGreedyAlgorithmFails() {
@@ -58,7 +58,7 @@ public void testLowerElbonianCurrencyForWhichGreedyAlgorithmFails() {
5858
changeCalculator.computeMostEfficientChange(63));
5959
}
6060

61-
@Ignore
61+
@Ignore("Remove to run test")
6262
@Test
6363
public void testLargeAmountOfChange() {
6464
ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 2, 5, 10, 20, 50, 100));
@@ -68,7 +68,7 @@ public void testLargeAmountOfChange() {
6868
changeCalculator.computeMostEfficientChange(999));
6969
}
7070

71-
@Ignore
71+
@Ignore("Remove to run test")
7272
@Test
7373
public void testZeroChange() {
7474
ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 5, 10, 21, 25));
@@ -78,7 +78,7 @@ public void testZeroChange() {
7878
changeCalculator.computeMostEfficientChange(0));
7979
}
8080

81-
@Ignore
81+
@Ignore("Remove to run test")
8282
@Test
8383
public void testChangeLessThanSmallestCoinInCurrencyCannotBeRepresented() {
8484
ChangeCalculator changeCalculator = new ChangeCalculator(asList(5, 10));
@@ -89,7 +89,7 @@ public void testChangeLessThanSmallestCoinInCurrencyCannotBeRepresented() {
8989
changeCalculator.computeMostEfficientChange(3);
9090
}
9191

92-
@Ignore
92+
@Ignore("Remove to run test")
9393
@Test
9494
public void testChangeLargerThanAllCoinsInCurrencyThatCannotBeRepresented() {
9595
ChangeCalculator changeCalculator = new ChangeCalculator(asList(5, 10));
@@ -100,7 +100,7 @@ public void testChangeLargerThanAllCoinsInCurrencyThatCannotBeRepresented() {
100100
changeCalculator.computeMostEfficientChange(94);
101101
}
102102

103-
@Ignore
103+
@Ignore("Remove to run test")
104104
@Test
105105
public void testNegativeChangeIsRejected() {
106106
ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 2, 5));

0 commit comments

Comments
 (0)