|
|
|
|
|
|
119
|
|
119
|
|
|
120
|
@Ignore("Remove to run test")
|
120
|
@Ignore("Remove to run test")
|
|
121
|
@Test
|
121
|
@Test
|
|
122
|
- public void testMultipleVerses() {
|
|
|
|
123
|
- String expectedVerseOneToThree = "On the first day of Christmas my true love gave to me, " +
|
|
|
|
|
|
122
|
+ public void testFirstThreeVerses() {
|
|
|
|
123
|
+ String expectedVersesOneToThree = "On the first day of Christmas my true love gave to me, " +
|
|
124
|
"a Partridge in a Pear Tree.\n\n" +
|
124
|
"a Partridge in a Pear Tree.\n\n" +
|
|
125
|
"On the second day of Christmas my true love gave to me, two Turtle Doves, " +
|
125
|
"On the second day of Christmas my true love gave to me, two Turtle Doves, " +
|
|
126
|
"and a Partridge in a Pear Tree.\n\n" +
|
126
|
"and a Partridge in a Pear Tree.\n\n" +
|
|
127
|
"On the third day of Christmas my true love gave to me, three French Hens, two Turtle Doves, " +
|
127
|
"On the third day of Christmas my true love gave to me, three French Hens, two Turtle Doves, " +
|
|
128
|
"and a Partridge in a Pear Tree.\n";
|
128
|
"and a Partridge in a Pear Tree.\n";
|
|
129
|
- assertEquals(expectedVerseOneToThree, twelveDays.verses(1, 3));
|
|
|
|
|
|
129
|
+ assertEquals(expectedVersesOneToThree, twelveDays.verses(1, 3));
|
|
|
|
130
|
+ }
|
|
|
|
131
|
+
|
|
|
|
132
|
+ @Ignore("Remove to run test")
|
|
|
|
133
|
+ @Test
|
|
|
|
134
|
+ public void testFourthToSixthVerses() {
|
|
|
|
135
|
+ String expectedVersesFourToSix = "On the fourth day of Christmas my true love gave to me, " +
|
|
|
|
136
|
+ "four Calling Birds, three French Hens, two Turtle Doves, and a Partridge in a Pear Tree.\n\n" +
|
|
|
|
137
|
+ "On the fifth day of Christmas my true love gave to me, five Gold Rings, four Calling Birds, " +
|
|
|
|
138
|
+ "three French Hens, two Turtle Doves, and a Partridge in a Pear Tree.\n\n" +
|
|
|
|
139
|
+ "On the sixth day of Christmas my true love gave to me, six Geese-a-Laying, five Gold Rings, " +
|
|
|
|
140
|
+ "four Calling Birds, three French Hens, two Turtle Doves, and a Partridge in a Pear Tree.\n";
|
|
|
|
141
|
+ assertEquals(expectedVersesFourToSix, twelveDays.verses(4, 6));
|
|
130
|
}
|
142
|
}
|
|
131
|
|
143
|
|
|
132
|
@Ignore("Remove to run test")
|
144
|
@Ignore("Remove to run test")
|