Skip to content

Commit c7e3093

Browse files
authored
ClockCreationTest : add hint to @ignore annotations
exercism#445
1 parent 2159d54 commit c7e3093

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

exercises/clock/src/test/java/ClockCreationTest.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,109 +10,109 @@ public void canPrintTimeOnTheHour() {
1010
assertEquals("08:00", new Clock(8, 0).toString());
1111
}
1212

13-
@Ignore
13+
@Ignore("Remove to run test")
1414
@Test
1515
public void canPrintTimeWithMinutes() {
1616
assertEquals("11:09", new Clock(11, 9).toString());
1717
}
1818

19-
@Ignore
19+
@Ignore("Remove to run test")
2020
@Test
2121
public void midnightPrintsAsZero() {
2222
assertEquals("00:00", new Clock(24, 0).toString());
2323
}
2424

25-
@Ignore
25+
@Ignore("Remove to run test")
2626
@Test
2727
public void hourRollsOver() {
2828
assertEquals("01:00", new Clock(25, 0).toString());
2929
}
3030

31-
@Ignore
31+
@Ignore("Remove to run test")
3232
@Test
3333
public void hourRollsOverContinuously() {
3434
assertEquals("04:00", new Clock(100, 0).toString());
3535
}
3636

37-
@Ignore
37+
@Ignore("Remove to run test")
3838
@Test
3939
public void sixtyMinutesIsNextHour() {
4040
assertEquals("02:00", new Clock(1, 60).toString());
4141
}
4242

43-
@Ignore
43+
@Ignore("Remove to run test")
4444
@Test
4545
public void minutesRollOver() {
4646
assertEquals("02:40", new Clock(0, 160).toString());
4747
}
4848

49-
@Ignore
49+
@Ignore("Remove to run test")
5050
@Test
5151
public void minutesRollOverContinuously() {
5252
assertEquals("04:43", new Clock(0, 1723).toString());
5353
}
5454

55-
@Ignore
55+
@Ignore("Remove to run test")
5656
@Test
5757
public void hourAndMinutesRollOver() {
5858
assertEquals("03:40", new Clock(25, 160).toString());
5959
}
6060

61-
@Ignore
61+
@Ignore("Remove to run test")
6262
@Test
6363
public void hourAndMinutesRollOverContinuously() {
6464
assertEquals("11:01", new Clock(201, 3001).toString());
6565
}
6666

67-
@Ignore
67+
@Ignore("Remove to run test")
6868
@Test
6969
public void hourAndMinutesRollOverToExactlyMidnight() {
7070
assertEquals("00:00", new Clock(72, 8640).toString());
7171
}
7272

73-
@Ignore
73+
@Ignore("Remove to run test")
7474
@Test
7575
public void negativeHour() {
7676
assertEquals("23:15", new Clock(-1, 15).toString());
7777
}
7878

79-
@Ignore
79+
@Ignore("Remove to run test")
8080
@Test
8181
public void negativeHourRollsOver() {
8282
assertEquals("23:00", new Clock(-25, 0).toString());
8383
}
8484

85-
@Ignore
85+
@Ignore("Remove to run test")
8686
@Test
8787
public void negativeHourRollsOverContinuously() {
8888
assertEquals("05:00", new Clock(-91, 0).toString());
8989
}
9090

91-
@Ignore
91+
@Ignore("Remove to run test")
9292
@Test
9393
public void negativeMinutes() {
9494
assertEquals("00:20", new Clock(1, -40).toString());
9595
}
9696

97-
@Ignore
97+
@Ignore("Remove to run test")
9898
@Test
9999
public void negativeMinutesRollOver() {
100100
assertEquals("22:20", new Clock(1, -160).toString());
101101
}
102102

103-
@Ignore
103+
@Ignore("Remove to run test")
104104
@Test
105105
public void negativeMinutesRollOverContinuously() {
106106
assertEquals("16:40", new Clock(1, -4820).toString());
107107
}
108108

109-
@Ignore
109+
@Ignore("Remove to run test")
110110
@Test
111111
public void negativeHourAndMinutesBothRollOver() {
112112
assertEquals("20:20", new Clock(-25, -160).toString());
113113
}
114114

115-
@Ignore
115+
@Ignore("Remove to run test")
116116
@Test
117117
public void negativeHourAndMinutesBothRollOverContinuously() {
118118
assertEquals("22:10", new Clock(-121, -5810).toString());

0 commit comments

Comments
 (0)