trackler 2.0.6.40 → 2.0.6.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/common/exercises/book-store/canonical-data.json +7 -1
- data/common/exercises/rotational-cipher/{cannonical-data.json → canonical-data.json} +0 -0
- data/lib/trackler/version.rb +1 -1
- data/tracks/c/config.json +9 -0
- data/tracks/c/exercises/triangle/makefile +16 -0
- data/tracks/c/exercises/triangle/src/example.c +33 -0
- data/tracks/c/exercises/triangle/src/example.h +15 -0
- data/tracks/c/exercises/triangle/src/triangle.h +10 -0
- data/tracks/c/exercises/triangle/test/test_triangle.c +121 -0
- data/tracks/c/exercises/triangle/test/vendor/unity.c +1300 -0
- data/tracks/c/exercises/triangle/test/vendor/unity.h +274 -0
- data/tracks/c/exercises/triangle/test/vendor/unity_internals.h +701 -0
- data/tracks/clojure/.gitignore +1 -0
- data/tracks/clojure/_src/clock_generator.clj +5 -0
- data/tracks/clojure/_src/generator.clj +72 -0
- data/tracks/clojure/config.json +6 -0
- data/tracks/clojure/exercises/clock/clock.mustache +34 -0
- data/tracks/clojure/exercises/clock/project.clj +4 -0
- data/tracks/clojure/exercises/clock/src/example.clj +19 -0
- data/tracks/clojure/exercises/clock/test/clock_test.clj +177 -0
- data/tracks/clojure/project.clj +4 -1
- data/tracks/csharp/exercises/poker/Example.cs +1 -1
- data/tracks/csharp/exercises/poker/PokerTest.cs +10 -0
- data/tracks/erlang/docs/INSTALLATION.md +14 -3
- data/tracks/erlang/docs/LEARNING.md +1 -0
- data/tracks/go/exercises/gigasecond/gigasecond_test.go +5 -2
- data/tracks/go/exercises/grade-school/example.go +2 -0
- data/tracks/go/exercises/grade-school/grade_school_test.go +8 -0
- data/tracks/go/exercises/hamming/hamming_test.go +1 -1
- data/tracks/go/exercises/hello-world/hello_test.go +6 -4
- data/tracks/haskell/exercises/accumulate/src/Accumulate.hs +1 -1
- data/tracks/haskell/exercises/anagram/src/Anagram.hs +1 -1
- data/tracks/java/bin/journey-test.sh +21 -4
- data/tracks/java/exercises/allergies/src/example/java/Allergen.java +20 -0
- data/tracks/java/exercises/hamming/src/test/java/HammingTest.java +10 -3
- data/tracks/java/exercises/luhn/src/example/java/LuhnValidator.java +19 -11
- data/tracks/java/exercises/luhn/src/test/java/LuhnValidatorTest.java +43 -1
- data/tracks/java/exercises/meetup/src/example/java/MeetupSchedule.java +8 -0
- data/tracks/java/exercises/meetup/src/test/java/MeetupTest.java +91 -91
- data/tracks/java/exercises/perfect-numbers/src/example/java/Classification.java +5 -0
- data/tracks/java/exercises/robot-simulator/src/example/java/GridPosition.java +29 -0
- data/tracks/java/exercises/robot-simulator/src/example/java/Orientation.java +5 -0
- data/tracks/java/exercises/secret-handshake/src/example/java/Signal.java +5 -0
- data/tracks/java/exercises/sublist/src/example/java/Relationship.java +5 -0
- data/tracks/java/exercises/triangle/src/example/java/TriangleException.java +5 -0
- data/tracks/java/exercises/triangle/src/example/java/TriangleKind.java +5 -0
- data/tracks/julia/config.json +10 -1
- data/tracks/julia/exercises/atbash-cipher/runtests.jl +36 -36
- data/tracks/julia/exercises/pangram/example.jl +2 -0
- data/tracks/julia/exercises/pangram/pangram.jl +4 -0
- data/tracks/julia/exercises/pangram/runtests.jl +40 -0
- data/tracks/perl5/exercises/bob/Example.pm +1 -1
- data/tracks/perl5/exercises/bob/bob.t +27 -31
- data/tracks/php/exercises/accumulate/accumulate_test.php +1 -1
- data/tracks/php/exercises/acronym/acronym_test.php +1 -1
- data/tracks/php/exercises/allergies/allergies_test.php +1 -1
- data/tracks/php/exercises/anagram/anagram_test.php +1 -1
- data/tracks/php/exercises/atbash-cipher/atbash-cipher_test.php +1 -1
- data/tracks/php/exercises/beer-song/beer-song_test.php +1 -1
- data/tracks/php/exercises/binary/binary_test.php +2 -2
- data/tracks/php/exercises/bob/bob_test.php +1 -1
- data/tracks/php/exercises/book-store/book-store_test.php +1 -1
- data/tracks/php/exercises/bowling/bowling_test.php +1 -1
- data/tracks/php/exercises/bracket-push/bracket-push_test.php +1 -1
- data/tracks/php/exercises/change/change_test.php +3 -3
- data/tracks/php/exercises/clock/clock_test.php +1 -1
- data/tracks/php/exercises/connect/connect_test.php +1 -1
- data/tracks/php/exercises/difference-of-squares/difference-of-squares_test.php +1 -1
- data/tracks/php/exercises/etl/etl_test.php +1 -1
- data/tracks/php/exercises/gigasecond/gigasecond_test.php +1 -1
- data/tracks/php/exercises/grains/grains_test.php +1 -1
- data/tracks/php/exercises/hamming/hamming_test.php +2 -2
- data/tracks/php/exercises/hello-world/hello-world_test.php +1 -1
- data/tracks/php/exercises/isogram/isogram_test.php +1 -1
- data/tracks/php/exercises/largest-series-product/largest-series-product_test.php +1 -1
- data/tracks/php/exercises/leap/leap_test.php +1 -1
- data/tracks/php/exercises/markdown/markdown_test.php +1 -1
- data/tracks/php/exercises/minesweeper/minesweeper_test.php +7 -7
- data/tracks/php/exercises/nucleotide-count/nucleotide-count_test.php +1 -1
- data/tracks/php/exercises/ocr-numbers/ocr-numbers_test.php +1 -1
- data/tracks/php/exercises/pangram/pangram_test.php +1 -1
- data/tracks/php/exercises/phone-number/phone-number_test.php +1 -1
- data/tracks/php/exercises/pig-latin/pig-latin_test.php +1 -1
- data/tracks/php/exercises/raindrops/raindrops_test.php +1 -1
- data/tracks/php/exercises/rna-transcription/rna-transcription_test.php +1 -1
- data/tracks/php/exercises/robot-name/robot-name_test.php +1 -1
- data/tracks/php/exercises/robot-simulator/robot-simulator_test.php +1 -1
- data/tracks/php/exercises/roman-numerals/roman-numerals_test.php +1 -1
- data/tracks/php/exercises/sieve/sieve_test.php +1 -1
- data/tracks/php/exercises/space-age/space-age_test.php +1 -1
- data/tracks/php/exercises/triangle/triangle_test.php +1 -1
- data/tracks/php/exercises/trinary/trinary_test.php +1 -1
- data/tracks/php/exercises/variable-length-quantity/variable-length-quantity_test.php +3 -3
- data/tracks/php/exercises/word-count/word-count_test.php +1 -1
- data/tracks/php/exercises/wordy/wordy_test.php +3 -3
- data/tracks/python/config.json +3 -13
- data/tracks/python/exercises/rectangles/rectangles_count_test.py +15 -22
- data/tracks/scala/config.json +684 -665
- data/tracks/scala/exercises/binary-search/build.sbt +3 -0
- data/tracks/scala/exercises/binary-search/example.scala +23 -0
- data/tracks/scala/exercises/binary-search/src/main/scala/BinarySearch.scala +0 -0
- data/tracks/scala/exercises/binary-search/src/test/scala/BinarySearchTest.scala +63 -0
- data/tracks/scala/exercises/strain/build.sbt +3 -0
- data/tracks/scala/exercises/strain/example.scala +22 -0
- data/tracks/scala/exercises/strain/src/main/scala/Strain.scala +0 -0
- data/tracks/scala/exercises/strain/src/test/scala/StrainTest.scala +78 -0
- data/tracks/scala/testgen/src/main/scala/AllYourBaseTestGenerator.scala +13 -20
- data/tracks/scala/testgen/src/main/scala/BinarySearchTestGenerator.scala +48 -0
- data/tracks/scala/testgen/src/main/scala/BowlingTestGenerator.scala +24 -32
- data/tracks/scala/testgen/src/main/scala/CustomSetTestGenerator.scala +148 -112
- data/tracks/scala/testgen/src/main/scala/TestBuilder.scala +86 -0
- metadata +30 -3
- data/tracks/java/exercises/allergies/src/example/java/Allergen.java +0 -1
- data/tracks/java/exercises/meetup/src/example/java/MeetupSchedule.java +0 -1
- data/tracks/java/exercises/perfect-numbers/src/example/java/Classification.java +0 -1
- data/tracks/java/exercises/robot-simulator/src/example/java/GridPosition.java +0 -1
- data/tracks/java/exercises/robot-simulator/src/example/java/Orientation.java +0 -1
- data/tracks/java/exercises/secret-handshake/src/example/java/Signal.java +0 -1
- data/tracks/java/exercises/sublist/src/example/java/Relationship.java +0 -1
- data/tracks/java/exercises/triangle/src/example/java/TriangleException.java +0 -1
- data/tracks/java/exercises/triangle/src/example/java/TriangleKind.java +0 -1
@@ -10,7 +10,7 @@ import static org.junit.Assert.*;
|
|
10
10
|
public class MeetupTest {
|
11
11
|
|
12
12
|
@Test
|
13
|
-
public void
|
13
|
+
public void testMonteenthOfMay2013() {
|
14
14
|
LocalDate expected = LocalDate.of(2013, 5, 13);
|
15
15
|
Meetup meetup = new Meetup(5, 2013);
|
16
16
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
|
@@ -18,7 +18,7 @@ public class MeetupTest {
|
|
18
18
|
|
19
19
|
@Ignore
|
20
20
|
@Test
|
21
|
-
public void
|
21
|
+
public void testMonteenthOfAugust2013() {
|
22
22
|
LocalDate expected = LocalDate.of(2013, 8, 19);
|
23
23
|
Meetup meetup = new Meetup(8, 2013);
|
24
24
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
|
@@ -26,7 +26,7 @@ public class MeetupTest {
|
|
26
26
|
|
27
27
|
@Ignore
|
28
28
|
@Test
|
29
|
-
public void
|
29
|
+
public void testMonteenthOfSeptember2013() {
|
30
30
|
LocalDate expected = LocalDate.of(2013, 9, 16);
|
31
31
|
Meetup meetup = new Meetup(9, 2013);
|
32
32
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
|
@@ -34,7 +34,7 @@ public class MeetupTest {
|
|
34
34
|
|
35
35
|
@Ignore
|
36
36
|
@Test
|
37
|
-
public void
|
37
|
+
public void testTuesteenthOfMarch2013() {
|
38
38
|
LocalDate expected = LocalDate.of(2013, 3, 19);
|
39
39
|
Meetup meetup = new Meetup(3, 2013);
|
40
40
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
|
@@ -42,7 +42,7 @@ public class MeetupTest {
|
|
42
42
|
|
43
43
|
@Ignore
|
44
44
|
@Test
|
45
|
-
public void
|
45
|
+
public void testTuesteenthOfApril2013() {
|
46
46
|
LocalDate expected = LocalDate.of(2013, 4, 16);
|
47
47
|
Meetup meetup = new Meetup(4, 2013);
|
48
48
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
|
@@ -50,7 +50,7 @@ public class MeetupTest {
|
|
50
50
|
|
51
51
|
@Ignore
|
52
52
|
@Test
|
53
|
-
public void
|
53
|
+
public void testTuesteenthOfAugust2013() {
|
54
54
|
LocalDate expected = LocalDate.of(2013, 8, 13);
|
55
55
|
Meetup meetup = new Meetup(8, 2013);
|
56
56
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
|
@@ -58,7 +58,7 @@ public class MeetupTest {
|
|
58
58
|
|
59
59
|
@Ignore
|
60
60
|
@Test
|
61
|
-
public void
|
61
|
+
public void testWednesteenthOfJanuary2013() {
|
62
62
|
LocalDate expected = LocalDate.of(2013, 1, 16);
|
63
63
|
Meetup meetup = new Meetup(1, 2013);
|
64
64
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
|
@@ -66,7 +66,7 @@ public class MeetupTest {
|
|
66
66
|
|
67
67
|
@Ignore
|
68
68
|
@Test
|
69
|
-
public void
|
69
|
+
public void testWednesteenthOfFebruary2013() {
|
70
70
|
LocalDate expected = LocalDate.of(2013, 2, 13);
|
71
71
|
Meetup meetup = new Meetup(2, 2013);
|
72
72
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
|
@@ -74,7 +74,7 @@ public class MeetupTest {
|
|
74
74
|
|
75
75
|
@Ignore
|
76
76
|
@Test
|
77
|
-
public void
|
77
|
+
public void testWednesteenthOfJune2013() {
|
78
78
|
LocalDate expected = LocalDate.of(2013, 6, 19);
|
79
79
|
Meetup meetup = new Meetup(6, 2013);
|
80
80
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
|
@@ -82,7 +82,7 @@ public class MeetupTest {
|
|
82
82
|
|
83
83
|
@Ignore
|
84
84
|
@Test
|
85
|
-
public void
|
85
|
+
public void testThursteenthOfMay2013() {
|
86
86
|
LocalDate expected = LocalDate.of(2013, 5, 16);
|
87
87
|
Meetup meetup = new Meetup(5, 2013);
|
88
88
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
|
@@ -90,7 +90,7 @@ public class MeetupTest {
|
|
90
90
|
|
91
91
|
@Ignore
|
92
92
|
@Test
|
93
|
-
public void
|
93
|
+
public void testThursteenthOfJune2013() {
|
94
94
|
LocalDate expected = LocalDate.of(2013, 6, 13);
|
95
95
|
Meetup meetup = new Meetup(6, 2013);
|
96
96
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
|
@@ -98,7 +98,7 @@ public class MeetupTest {
|
|
98
98
|
|
99
99
|
@Ignore
|
100
100
|
@Test
|
101
|
-
public void
|
101
|
+
public void testThursteenthOfSeptember2013() {
|
102
102
|
LocalDate expected = LocalDate.of(2013, 9, 19);
|
103
103
|
Meetup meetup = new Meetup(9, 2013);
|
104
104
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
|
@@ -106,7 +106,7 @@ public class MeetupTest {
|
|
106
106
|
|
107
107
|
@Ignore
|
108
108
|
@Test
|
109
|
-
public void
|
109
|
+
public void testFriteenthOfApril2013() {
|
110
110
|
LocalDate expected = LocalDate.of(2013, 4, 19);
|
111
111
|
Meetup meetup = new Meetup(4, 2013);
|
112
112
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
|
@@ -114,7 +114,7 @@ public class MeetupTest {
|
|
114
114
|
|
115
115
|
@Ignore
|
116
116
|
@Test
|
117
|
-
public void
|
117
|
+
public void testFriteenthOfAugust2013() {
|
118
118
|
LocalDate expected = LocalDate.of(2013, 8, 16);
|
119
119
|
Meetup meetup = new Meetup(8, 2013);
|
120
120
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
|
@@ -122,7 +122,7 @@ public class MeetupTest {
|
|
122
122
|
|
123
123
|
@Ignore
|
124
124
|
@Test
|
125
|
-
public void
|
125
|
+
public void testFriteenthOfSeptember2013() {
|
126
126
|
LocalDate expected = LocalDate.of(2013, 9, 13);
|
127
127
|
Meetup meetup = new Meetup(9, 2013);
|
128
128
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
|
@@ -130,7 +130,7 @@ public class MeetupTest {
|
|
130
130
|
|
131
131
|
@Ignore
|
132
132
|
@Test
|
133
|
-
public void
|
133
|
+
public void testSaturteenthOfFebruary2013() {
|
134
134
|
LocalDate expected = LocalDate.of(2013, 2, 16);
|
135
135
|
Meetup meetup = new Meetup(2, 2013);
|
136
136
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
|
@@ -138,7 +138,7 @@ public class MeetupTest {
|
|
138
138
|
|
139
139
|
@Ignore
|
140
140
|
@Test
|
141
|
-
public void
|
141
|
+
public void testSaturteenthOfApril2013() {
|
142
142
|
LocalDate expected = LocalDate.of(2013, 4, 13);
|
143
143
|
Meetup meetup = new Meetup(4, 2013);
|
144
144
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
|
@@ -146,7 +146,7 @@ public class MeetupTest {
|
|
146
146
|
|
147
147
|
@Ignore
|
148
148
|
@Test
|
149
|
-
public void
|
149
|
+
public void testSaturteenthOfOctober2013() {
|
150
150
|
LocalDate expected = LocalDate.of(2013, 10, 19);
|
151
151
|
Meetup meetup = new Meetup(10, 2013);
|
152
152
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
|
@@ -154,7 +154,7 @@ public class MeetupTest {
|
|
154
154
|
|
155
155
|
@Ignore
|
156
156
|
@Test
|
157
|
-
public void
|
157
|
+
public void testSunteenthOfMay2013() {
|
158
158
|
LocalDate expected = LocalDate.of(2013, 5, 19);
|
159
159
|
Meetup meetup = new Meetup(5, 2013);
|
160
160
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
|
@@ -162,7 +162,7 @@ public class MeetupTest {
|
|
162
162
|
|
163
163
|
@Ignore
|
164
164
|
@Test
|
165
|
-
public void
|
165
|
+
public void testSunteenthOfJune2013() {
|
166
166
|
LocalDate expected = LocalDate.of(2013, 6, 16);
|
167
167
|
Meetup meetup = new Meetup(6, 2013);
|
168
168
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
|
@@ -170,7 +170,7 @@ public class MeetupTest {
|
|
170
170
|
|
171
171
|
@Ignore
|
172
172
|
@Test
|
173
|
-
public void
|
173
|
+
public void testSunteenthOfOctober2013() {
|
174
174
|
LocalDate expected = LocalDate.of(2013, 10, 13);
|
175
175
|
Meetup meetup = new Meetup(10, 2013);
|
176
176
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
|
@@ -178,7 +178,7 @@ public class MeetupTest {
|
|
178
178
|
|
179
179
|
@Ignore
|
180
180
|
@Test
|
181
|
-
public void
|
181
|
+
public void testFirstMondayOfMarch2013() {
|
182
182
|
LocalDate expected = LocalDate.of(2013, 3, 4);
|
183
183
|
Meetup meetup = new Meetup(3, 2013);
|
184
184
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST));
|
@@ -186,7 +186,7 @@ public class MeetupTest {
|
|
186
186
|
|
187
187
|
@Ignore
|
188
188
|
@Test
|
189
|
-
public void
|
189
|
+
public void testFirstMondayOfApril2013() {
|
190
190
|
LocalDate expected = LocalDate.of(2013, 4, 1);
|
191
191
|
Meetup meetup = new Meetup(4, 2013);
|
192
192
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST));
|
@@ -194,7 +194,7 @@ public class MeetupTest {
|
|
194
194
|
|
195
195
|
@Ignore
|
196
196
|
@Test
|
197
|
-
public void
|
197
|
+
public void testFirstTuesdayOfMay2013() {
|
198
198
|
LocalDate expected = LocalDate.of(2013, 5, 7);
|
199
199
|
Meetup meetup = new Meetup(5, 2013);
|
200
200
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST));
|
@@ -202,7 +202,7 @@ public class MeetupTest {
|
|
202
202
|
|
203
203
|
@Ignore
|
204
204
|
@Test
|
205
|
-
public void
|
205
|
+
public void testFirstTuesdayOfJune2013() {
|
206
206
|
LocalDate expected = LocalDate.of(2013, 6, 4);
|
207
207
|
Meetup meetup = new Meetup(6, 2013);
|
208
208
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST));
|
@@ -210,7 +210,7 @@ public class MeetupTest {
|
|
210
210
|
|
211
211
|
@Ignore
|
212
212
|
@Test
|
213
|
-
public void
|
213
|
+
public void testFirstWednesdayOfJuly2013() {
|
214
214
|
LocalDate expected = LocalDate.of(2013, 7, 3);
|
215
215
|
Meetup meetup = new Meetup(7, 2013);
|
216
216
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST));
|
@@ -218,7 +218,7 @@ public class MeetupTest {
|
|
218
218
|
|
219
219
|
@Ignore
|
220
220
|
@Test
|
221
|
-
public void
|
221
|
+
public void testFirstWednesdayOfAugust2013() {
|
222
222
|
LocalDate expected = LocalDate.of(2013, 8, 7);
|
223
223
|
Meetup meetup = new Meetup(8, 2013);
|
224
224
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST));
|
@@ -226,7 +226,7 @@ public class MeetupTest {
|
|
226
226
|
|
227
227
|
@Ignore
|
228
228
|
@Test
|
229
|
-
public void
|
229
|
+
public void testFirstThursdayOfSeptember2013() {
|
230
230
|
LocalDate expected = LocalDate.of(2013, 9, 5);
|
231
231
|
Meetup meetup = new Meetup(9, 2013);
|
232
232
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST));
|
@@ -234,7 +234,7 @@ public class MeetupTest {
|
|
234
234
|
|
235
235
|
@Ignore
|
236
236
|
@Test
|
237
|
-
public void
|
237
|
+
public void testFirstThursdayOfOctober2013() {
|
238
238
|
LocalDate expected = LocalDate.of(2013, 10, 3);
|
239
239
|
Meetup meetup = new Meetup(10, 2013);
|
240
240
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST));
|
@@ -242,7 +242,7 @@ public class MeetupTest {
|
|
242
242
|
|
243
243
|
@Ignore
|
244
244
|
@Test
|
245
|
-
public void
|
245
|
+
public void testFirstFridayOfNovember2013() {
|
246
246
|
LocalDate expected = LocalDate.of(2013, 11, 1);
|
247
247
|
Meetup meetup = new Meetup(11, 2013);
|
248
248
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST));
|
@@ -250,7 +250,7 @@ public class MeetupTest {
|
|
250
250
|
|
251
251
|
@Ignore
|
252
252
|
@Test
|
253
|
-
public void
|
253
|
+
public void testFirstFridayOfDecember2013() {
|
254
254
|
LocalDate expected = LocalDate.of(2013, 12, 6);
|
255
255
|
Meetup meetup = new Meetup(12, 2013);
|
256
256
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST));
|
@@ -258,7 +258,7 @@ public class MeetupTest {
|
|
258
258
|
|
259
259
|
@Ignore
|
260
260
|
@Test
|
261
|
-
public void
|
261
|
+
public void testFirstSaturdayOfJanuary2013() {
|
262
262
|
LocalDate expected = LocalDate.of(2013, 1, 5);
|
263
263
|
Meetup meetup = new Meetup(1, 2013);
|
264
264
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST));
|
@@ -266,7 +266,7 @@ public class MeetupTest {
|
|
266
266
|
|
267
267
|
@Ignore
|
268
268
|
@Test
|
269
|
-
public void
|
269
|
+
public void testFirstSaturdayOfFebruary2013() {
|
270
270
|
LocalDate expected = LocalDate.of(2013, 2, 2);
|
271
271
|
Meetup meetup = new Meetup(2, 2013);
|
272
272
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST));
|
@@ -274,7 +274,7 @@ public class MeetupTest {
|
|
274
274
|
|
275
275
|
@Ignore
|
276
276
|
@Test
|
277
|
-
public void
|
277
|
+
public void testFirstSundayOfMarch2013() {
|
278
278
|
LocalDate expected = LocalDate.of(2013, 3, 3);
|
279
279
|
Meetup meetup = new Meetup(3, 2013);
|
280
280
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST));
|
@@ -282,7 +282,7 @@ public class MeetupTest {
|
|
282
282
|
|
283
283
|
@Ignore
|
284
284
|
@Test
|
285
|
-
public void
|
285
|
+
public void testFirstSundayOfApril2013() {
|
286
286
|
LocalDate expected = LocalDate.of(2013, 4, 7);
|
287
287
|
Meetup meetup = new Meetup(4, 2013);
|
288
288
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST));
|
@@ -290,7 +290,7 @@ public class MeetupTest {
|
|
290
290
|
|
291
291
|
@Ignore
|
292
292
|
@Test
|
293
|
-
public void
|
293
|
+
public void testSecondMondayOfMarch2013() {
|
294
294
|
LocalDate expected = LocalDate.of(2013, 3, 11);
|
295
295
|
Meetup meetup = new Meetup(3, 2013);
|
296
296
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND));
|
@@ -298,7 +298,7 @@ public class MeetupTest {
|
|
298
298
|
|
299
299
|
@Ignore
|
300
300
|
@Test
|
301
|
-
public void
|
301
|
+
public void testSecondMondayOfApril2013() {
|
302
302
|
LocalDate expected = LocalDate.of(2013, 4, 8);
|
303
303
|
Meetup meetup = new Meetup(4, 2013);
|
304
304
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND));
|
@@ -306,7 +306,7 @@ public class MeetupTest {
|
|
306
306
|
|
307
307
|
@Ignore
|
308
308
|
@Test
|
309
|
-
public void
|
309
|
+
public void testSecondTuesdayOfMay2013() {
|
310
310
|
LocalDate expected = LocalDate.of(2013, 5, 14);
|
311
311
|
Meetup meetup = new Meetup(5, 2013);
|
312
312
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND));
|
@@ -314,7 +314,7 @@ public class MeetupTest {
|
|
314
314
|
|
315
315
|
@Ignore
|
316
316
|
@Test
|
317
|
-
public void
|
317
|
+
public void testSecondTuesdayOfJune2013() {
|
318
318
|
LocalDate expected = LocalDate.of(2013, 6, 11);
|
319
319
|
Meetup meetup = new Meetup(6, 2013);
|
320
320
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND));
|
@@ -322,7 +322,7 @@ public class MeetupTest {
|
|
322
322
|
|
323
323
|
@Ignore
|
324
324
|
@Test
|
325
|
-
public void
|
325
|
+
public void testSecondWednesdayOfJuly2013() {
|
326
326
|
LocalDate expected = LocalDate.of(2013, 7, 10);
|
327
327
|
Meetup meetup = new Meetup(7, 2013);
|
328
328
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND));
|
@@ -330,7 +330,7 @@ public class MeetupTest {
|
|
330
330
|
|
331
331
|
@Ignore
|
332
332
|
@Test
|
333
|
-
public void
|
333
|
+
public void testSecondWednesdayOfAugust2013() {
|
334
334
|
LocalDate expected = LocalDate.of(2013, 8, 14);
|
335
335
|
Meetup meetup = new Meetup(8, 2013);
|
336
336
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND));
|
@@ -338,7 +338,7 @@ public class MeetupTest {
|
|
338
338
|
|
339
339
|
@Ignore
|
340
340
|
@Test
|
341
|
-
public void
|
341
|
+
public void testSecondThursdayOfSeptember2013() {
|
342
342
|
LocalDate expected = LocalDate.of(2013, 9, 12);
|
343
343
|
Meetup meetup = new Meetup(9, 2013);
|
344
344
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND));
|
@@ -346,7 +346,7 @@ public class MeetupTest {
|
|
346
346
|
|
347
347
|
@Ignore
|
348
348
|
@Test
|
349
|
-
public void
|
349
|
+
public void testSecondThursdayOfOctober2013() {
|
350
350
|
LocalDate expected = LocalDate.of(2013, 10, 10);
|
351
351
|
Meetup meetup = new Meetup(10, 2013);
|
352
352
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND));
|
@@ -354,7 +354,7 @@ public class MeetupTest {
|
|
354
354
|
|
355
355
|
@Ignore
|
356
356
|
@Test
|
357
|
-
public void
|
357
|
+
public void testSecondFridayOfNovember2013() {
|
358
358
|
LocalDate expected = LocalDate.of(2013, 11, 8);
|
359
359
|
Meetup meetup = new Meetup(11, 2013);
|
360
360
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND));
|
@@ -362,7 +362,7 @@ public class MeetupTest {
|
|
362
362
|
|
363
363
|
@Ignore
|
364
364
|
@Test
|
365
|
-
public void
|
365
|
+
public void testSecondFridayOfDecember2013() {
|
366
366
|
LocalDate expected = LocalDate.of(2013, 12, 13);
|
367
367
|
Meetup meetup = new Meetup(12, 2013);
|
368
368
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND));
|
@@ -370,7 +370,7 @@ public class MeetupTest {
|
|
370
370
|
|
371
371
|
@Ignore
|
372
372
|
@Test
|
373
|
-
public void
|
373
|
+
public void testSecondSaturdayOfJanuary2013() {
|
374
374
|
LocalDate expected = LocalDate.of(2013, 1, 12);
|
375
375
|
Meetup meetup = new Meetup(1, 2013);
|
376
376
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND));
|
@@ -378,7 +378,7 @@ public class MeetupTest {
|
|
378
378
|
|
379
379
|
@Ignore
|
380
380
|
@Test
|
381
|
-
public void
|
381
|
+
public void testSecondSaturdayOfFebruary2013() {
|
382
382
|
LocalDate expected = LocalDate.of(2013, 2, 9);
|
383
383
|
Meetup meetup = new Meetup(2, 2013);
|
384
384
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND));
|
@@ -386,7 +386,7 @@ public class MeetupTest {
|
|
386
386
|
|
387
387
|
@Ignore
|
388
388
|
@Test
|
389
|
-
public void
|
389
|
+
public void testSecondSundayOfMarch2013() {
|
390
390
|
LocalDate expected = LocalDate.of(2013, 3, 10);
|
391
391
|
Meetup meetup = new Meetup(3, 2013);
|
392
392
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND));
|
@@ -394,7 +394,7 @@ public class MeetupTest {
|
|
394
394
|
|
395
395
|
@Ignore
|
396
396
|
@Test
|
397
|
-
public void
|
397
|
+
public void testSecondSundayOfApril2013() {
|
398
398
|
LocalDate expected = LocalDate.of(2013, 4, 14);
|
399
399
|
Meetup meetup = new Meetup(4, 2013);
|
400
400
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND));
|
@@ -402,7 +402,7 @@ public class MeetupTest {
|
|
402
402
|
|
403
403
|
@Ignore
|
404
404
|
@Test
|
405
|
-
public void
|
405
|
+
public void testThirdMondayOfMarch2013() {
|
406
406
|
LocalDate expected = LocalDate.of(2013, 3, 18);
|
407
407
|
Meetup meetup = new Meetup(3, 2013);
|
408
408
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD));
|
@@ -410,7 +410,7 @@ public class MeetupTest {
|
|
410
410
|
|
411
411
|
@Ignore
|
412
412
|
@Test
|
413
|
-
public void
|
413
|
+
public void testThirdMondayOfApril2013() {
|
414
414
|
LocalDate expected = LocalDate.of(2013, 4, 15);
|
415
415
|
Meetup meetup = new Meetup(4, 2013);
|
416
416
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD));
|
@@ -418,7 +418,7 @@ public class MeetupTest {
|
|
418
418
|
|
419
419
|
@Ignore
|
420
420
|
@Test
|
421
|
-
public void
|
421
|
+
public void testThirdTuesdayOfMay2013() {
|
422
422
|
LocalDate expected = LocalDate.of(2013, 5, 21);
|
423
423
|
Meetup meetup = new Meetup(5, 2013);
|
424
424
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD));
|
@@ -426,7 +426,7 @@ public class MeetupTest {
|
|
426
426
|
|
427
427
|
@Ignore
|
428
428
|
@Test
|
429
|
-
public void
|
429
|
+
public void testThirdTuesdayOfJune2013() {
|
430
430
|
LocalDate expected = LocalDate.of(2013, 6, 18);
|
431
431
|
Meetup meetup = new Meetup(6, 2013);
|
432
432
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD));
|
@@ -434,7 +434,7 @@ public class MeetupTest {
|
|
434
434
|
|
435
435
|
@Ignore
|
436
436
|
@Test
|
437
|
-
public void
|
437
|
+
public void testThirdWednesdayOfJuly2013() {
|
438
438
|
LocalDate expected = LocalDate.of(2013, 7, 17);
|
439
439
|
Meetup meetup = new Meetup(7, 2013);
|
440
440
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD));
|
@@ -442,7 +442,7 @@ public class MeetupTest {
|
|
442
442
|
|
443
443
|
@Ignore
|
444
444
|
@Test
|
445
|
-
public void
|
445
|
+
public void testThirdWednesdayOfAugust2013() {
|
446
446
|
LocalDate expected = LocalDate.of(2013, 8, 21);
|
447
447
|
Meetup meetup = new Meetup(8, 2013);
|
448
448
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD));
|
@@ -450,7 +450,7 @@ public class MeetupTest {
|
|
450
450
|
|
451
451
|
@Ignore
|
452
452
|
@Test
|
453
|
-
public void
|
453
|
+
public void testThirdThursdayOfSeptember2013() {
|
454
454
|
LocalDate expected = LocalDate.of(2013, 9, 19);
|
455
455
|
Meetup meetup = new Meetup(9, 2013);
|
456
456
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD));
|
@@ -458,7 +458,7 @@ public class MeetupTest {
|
|
458
458
|
|
459
459
|
@Ignore
|
460
460
|
@Test
|
461
|
-
public void
|
461
|
+
public void testThirdThursdayOfOctober2013() {
|
462
462
|
LocalDate expected = LocalDate.of(2013, 10, 17);
|
463
463
|
Meetup meetup = new Meetup(10, 2013);
|
464
464
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD));
|
@@ -466,7 +466,7 @@ public class MeetupTest {
|
|
466
466
|
|
467
467
|
@Ignore
|
468
468
|
@Test
|
469
|
-
public void
|
469
|
+
public void testThirdFridayOfNovember2013() {
|
470
470
|
LocalDate expected = LocalDate.of(2013, 11, 15);
|
471
471
|
Meetup meetup = new Meetup(11, 2013);
|
472
472
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD));
|
@@ -474,7 +474,7 @@ public class MeetupTest {
|
|
474
474
|
|
475
475
|
@Ignore
|
476
476
|
@Test
|
477
|
-
public void
|
477
|
+
public void testThirdFridayOfDecember2013() {
|
478
478
|
LocalDate expected = LocalDate.of(2013, 12, 20);
|
479
479
|
Meetup meetup = new Meetup(12, 2013);
|
480
480
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD));
|
@@ -482,7 +482,7 @@ public class MeetupTest {
|
|
482
482
|
|
483
483
|
@Ignore
|
484
484
|
@Test
|
485
|
-
public void
|
485
|
+
public void testThirdSaturdayOfJanuary2013() {
|
486
486
|
LocalDate expected = LocalDate.of(2013, 1, 19);
|
487
487
|
Meetup meetup = new Meetup(1, 2013);
|
488
488
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD));
|
@@ -490,7 +490,7 @@ public class MeetupTest {
|
|
490
490
|
|
491
491
|
@Ignore
|
492
492
|
@Test
|
493
|
-
public void
|
493
|
+
public void testThirdSaturdayOfFebruary2013() {
|
494
494
|
LocalDate expected = LocalDate.of(2013, 2, 16);
|
495
495
|
Meetup meetup = new Meetup(2, 2013);
|
496
496
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD));
|
@@ -498,7 +498,7 @@ public class MeetupTest {
|
|
498
498
|
|
499
499
|
@Ignore
|
500
500
|
@Test
|
501
|
-
public void
|
501
|
+
public void testThirdSundayOfMarch2013() {
|
502
502
|
LocalDate expected = LocalDate.of(2013, 3, 17);
|
503
503
|
Meetup meetup = new Meetup(3, 2013);
|
504
504
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD));
|
@@ -506,7 +506,7 @@ public class MeetupTest {
|
|
506
506
|
|
507
507
|
@Ignore
|
508
508
|
@Test
|
509
|
-
public void
|
509
|
+
public void testThirdSundayOfApril2013() {
|
510
510
|
LocalDate expected = LocalDate.of(2013, 4, 21);
|
511
511
|
Meetup meetup = new Meetup(4, 2013);
|
512
512
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD));
|
@@ -514,7 +514,7 @@ public class MeetupTest {
|
|
514
514
|
|
515
515
|
@Ignore
|
516
516
|
@Test
|
517
|
-
public void
|
517
|
+
public void testFourthMondayOfMarch2013() {
|
518
518
|
LocalDate expected = LocalDate.of(2013, 3, 25);
|
519
519
|
Meetup meetup = new Meetup(3, 2013);
|
520
520
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH));
|
@@ -522,7 +522,7 @@ public class MeetupTest {
|
|
522
522
|
|
523
523
|
@Ignore
|
524
524
|
@Test
|
525
|
-
public void
|
525
|
+
public void testFourthMondayOfApril2013() {
|
526
526
|
LocalDate expected = LocalDate.of(2013, 4, 22);
|
527
527
|
Meetup meetup = new Meetup(4, 2013);
|
528
528
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH));
|
@@ -530,7 +530,7 @@ public class MeetupTest {
|
|
530
530
|
|
531
531
|
@Ignore
|
532
532
|
@Test
|
533
|
-
public void
|
533
|
+
public void testFourthTuesdayOfMay2013() {
|
534
534
|
LocalDate expected = LocalDate.of(2013, 5, 28);
|
535
535
|
Meetup meetup = new Meetup(5, 2013);
|
536
536
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH));
|
@@ -538,7 +538,7 @@ public class MeetupTest {
|
|
538
538
|
|
539
539
|
@Ignore
|
540
540
|
@Test
|
541
|
-
public void
|
541
|
+
public void testFourthTuesdayOfJune2013() {
|
542
542
|
LocalDate expected = LocalDate.of(2013, 6, 25);
|
543
543
|
Meetup meetup = new Meetup(6, 2013);
|
544
544
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH));
|
@@ -546,7 +546,7 @@ public class MeetupTest {
|
|
546
546
|
|
547
547
|
@Ignore
|
548
548
|
@Test
|
549
|
-
public void
|
549
|
+
public void testFourthWednesdayOfJuly2013() {
|
550
550
|
LocalDate expected = LocalDate.of(2013, 7, 24);
|
551
551
|
Meetup meetup = new Meetup(7, 2013);
|
552
552
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH));
|
@@ -554,7 +554,7 @@ public class MeetupTest {
|
|
554
554
|
|
555
555
|
@Ignore
|
556
556
|
@Test
|
557
|
-
public void
|
557
|
+
public void testFourthWednesdayOfAugust2013() {
|
558
558
|
LocalDate expected = LocalDate.of(2013, 8, 28);
|
559
559
|
Meetup meetup = new Meetup(8, 2013);
|
560
560
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH));
|
@@ -562,7 +562,7 @@ public class MeetupTest {
|
|
562
562
|
|
563
563
|
@Ignore
|
564
564
|
@Test
|
565
|
-
public void
|
565
|
+
public void testFourthThursdayOfSeptember2013() {
|
566
566
|
LocalDate expected = LocalDate.of(2013, 9, 26);
|
567
567
|
Meetup meetup = new Meetup(9, 2013);
|
568
568
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH));
|
@@ -570,7 +570,7 @@ public class MeetupTest {
|
|
570
570
|
|
571
571
|
@Ignore
|
572
572
|
@Test
|
573
|
-
public void
|
573
|
+
public void testFourthThursdayOfOctober2013() {
|
574
574
|
LocalDate expected = LocalDate.of(2013, 10, 24);
|
575
575
|
Meetup meetup = new Meetup(10, 2013);
|
576
576
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH));
|
@@ -578,7 +578,7 @@ public class MeetupTest {
|
|
578
578
|
|
579
579
|
@Ignore
|
580
580
|
@Test
|
581
|
-
public void
|
581
|
+
public void testFourthFridayOfNovember2013() {
|
582
582
|
LocalDate expected = LocalDate.of(2013, 11, 22);
|
583
583
|
Meetup meetup = new Meetup(11, 2013);
|
584
584
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH));
|
@@ -586,7 +586,7 @@ public class MeetupTest {
|
|
586
586
|
|
587
587
|
@Ignore
|
588
588
|
@Test
|
589
|
-
public void
|
589
|
+
public void testFourthFridayOfDecember2013() {
|
590
590
|
LocalDate expected = LocalDate.of(2013, 12, 27);
|
591
591
|
Meetup meetup = new Meetup(12, 2013);
|
592
592
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH));
|
@@ -594,7 +594,7 @@ public class MeetupTest {
|
|
594
594
|
|
595
595
|
@Ignore
|
596
596
|
@Test
|
597
|
-
public void
|
597
|
+
public void testFourthSaturdayOfJanuary2013() {
|
598
598
|
LocalDate expected = LocalDate.of(2013, 1, 26);
|
599
599
|
Meetup meetup = new Meetup(1, 2013);
|
600
600
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH));
|
@@ -602,7 +602,7 @@ public class MeetupTest {
|
|
602
602
|
|
603
603
|
@Ignore
|
604
604
|
@Test
|
605
|
-
public void
|
605
|
+
public void testFourthSaturdayOfFebruary2013() {
|
606
606
|
LocalDate expected = LocalDate.of(2013, 2, 23);
|
607
607
|
Meetup meetup = new Meetup(2, 2013);
|
608
608
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH));
|
@@ -610,7 +610,7 @@ public class MeetupTest {
|
|
610
610
|
|
611
611
|
@Ignore
|
612
612
|
@Test
|
613
|
-
public void
|
613
|
+
public void testFourthSundayOfMarch2013() {
|
614
614
|
LocalDate expected = LocalDate.of(2013, 3, 24);
|
615
615
|
Meetup meetup = new Meetup(3, 2013);
|
616
616
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH));
|
@@ -618,7 +618,7 @@ public class MeetupTest {
|
|
618
618
|
|
619
619
|
@Ignore
|
620
620
|
@Test
|
621
|
-
public void
|
621
|
+
public void testFourthSundayOfApril2013() {
|
622
622
|
LocalDate expected = LocalDate.of(2013, 4, 28);
|
623
623
|
Meetup meetup = new Meetup(4, 2013);
|
624
624
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH));
|
@@ -626,7 +626,7 @@ public class MeetupTest {
|
|
626
626
|
|
627
627
|
@Ignore
|
628
628
|
@Test
|
629
|
-
public void
|
629
|
+
public void testLastMondayOfMarch2013() {
|
630
630
|
LocalDate expected = LocalDate.of(2013, 3, 25);
|
631
631
|
Meetup meetup = new Meetup(3, 2013);
|
632
632
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST));
|
@@ -634,7 +634,7 @@ public class MeetupTest {
|
|
634
634
|
|
635
635
|
@Ignore
|
636
636
|
@Test
|
637
|
-
public void
|
637
|
+
public void testLastMondayOfApril2013() {
|
638
638
|
LocalDate expected = LocalDate.of(2013, 4, 29);
|
639
639
|
Meetup meetup = new Meetup(4, 2013);
|
640
640
|
assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST));
|
@@ -642,7 +642,7 @@ public class MeetupTest {
|
|
642
642
|
|
643
643
|
@Ignore
|
644
644
|
@Test
|
645
|
-
public void
|
645
|
+
public void testLastTuesdayOfMay2013() {
|
646
646
|
LocalDate expected = LocalDate.of(2013, 5, 28);
|
647
647
|
Meetup meetup = new Meetup(5, 2013);
|
648
648
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST));
|
@@ -650,7 +650,7 @@ public class MeetupTest {
|
|
650
650
|
|
651
651
|
@Ignore
|
652
652
|
@Test
|
653
|
-
public void
|
653
|
+
public void testLastTuesdayOfJune2013() {
|
654
654
|
LocalDate expected = LocalDate.of(2013, 6, 25);
|
655
655
|
Meetup meetup = new Meetup(6, 2013);
|
656
656
|
assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST));
|
@@ -658,7 +658,7 @@ public class MeetupTest {
|
|
658
658
|
|
659
659
|
@Ignore
|
660
660
|
@Test
|
661
|
-
public void
|
661
|
+
public void testLastWednesdayOfJuly2013() {
|
662
662
|
LocalDate expected = LocalDate.of(2013, 7, 31);
|
663
663
|
Meetup meetup = new Meetup(7, 2013);
|
664
664
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST));
|
@@ -666,7 +666,7 @@ public class MeetupTest {
|
|
666
666
|
|
667
667
|
@Ignore
|
668
668
|
@Test
|
669
|
-
public void
|
669
|
+
public void testLastWednesdayOfAugust2013() {
|
670
670
|
LocalDate expected = LocalDate.of(2013, 8, 28);
|
671
671
|
Meetup meetup = new Meetup(8, 2013);
|
672
672
|
assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST));
|
@@ -674,7 +674,7 @@ public class MeetupTest {
|
|
674
674
|
|
675
675
|
@Ignore
|
676
676
|
@Test
|
677
|
-
public void
|
677
|
+
public void testLastThursdayOfSeptember2013() {
|
678
678
|
LocalDate expected = LocalDate.of(2013, 9, 26);
|
679
679
|
Meetup meetup = new Meetup(9, 2013);
|
680
680
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST));
|
@@ -682,7 +682,7 @@ public class MeetupTest {
|
|
682
682
|
|
683
683
|
@Ignore
|
684
684
|
@Test
|
685
|
-
public void
|
685
|
+
public void testLastThursdayOfOctober2013() {
|
686
686
|
LocalDate expected = LocalDate.of(2013, 10, 31);
|
687
687
|
Meetup meetup = new Meetup(10, 2013);
|
688
688
|
assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST));
|
@@ -690,7 +690,7 @@ public class MeetupTest {
|
|
690
690
|
|
691
691
|
@Ignore
|
692
692
|
@Test
|
693
|
-
public void
|
693
|
+
public void testLastFridayOfNovember2013() {
|
694
694
|
LocalDate expected = LocalDate.of(2013, 11, 29);
|
695
695
|
Meetup meetup = new Meetup(11, 2013);
|
696
696
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST));
|
@@ -698,7 +698,7 @@ public class MeetupTest {
|
|
698
698
|
|
699
699
|
@Ignore
|
700
700
|
@Test
|
701
|
-
public void
|
701
|
+
public void testLastFridayOfDecember2013() {
|
702
702
|
LocalDate expected = LocalDate.of(2013, 12, 27);
|
703
703
|
Meetup meetup = new Meetup(12, 2013);
|
704
704
|
assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST));
|
@@ -706,7 +706,7 @@ public class MeetupTest {
|
|
706
706
|
|
707
707
|
@Ignore
|
708
708
|
@Test
|
709
|
-
public void
|
709
|
+
public void testLastSaturdayOfJanuary2013() {
|
710
710
|
LocalDate expected = LocalDate.of(2013, 1, 26);
|
711
711
|
Meetup meetup = new Meetup(1, 2013);
|
712
712
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST));
|
@@ -714,7 +714,7 @@ public class MeetupTest {
|
|
714
714
|
|
715
715
|
@Ignore
|
716
716
|
@Test
|
717
|
-
public void
|
717
|
+
public void testLastSaturdayOfFebruary2013() {
|
718
718
|
LocalDate expected = LocalDate.of(2013, 2, 23);
|
719
719
|
Meetup meetup = new Meetup(2, 2013);
|
720
720
|
assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST));
|
@@ -722,7 +722,7 @@ public class MeetupTest {
|
|
722
722
|
|
723
723
|
@Ignore
|
724
724
|
@Test
|
725
|
-
public void
|
725
|
+
public void testLastSundayOfMarch2013() {
|
726
726
|
LocalDate expected = LocalDate.of(2013, 3, 31);
|
727
727
|
Meetup meetup = new Meetup(3, 2013);
|
728
728
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST));
|
@@ -730,7 +730,7 @@ public class MeetupTest {
|
|
730
730
|
|
731
731
|
@Ignore
|
732
732
|
@Test
|
733
|
-
public void
|
733
|
+
public void testLastSundayOfApril2013() {
|
734
734
|
LocalDate expected = LocalDate.of(2013, 4, 28);
|
735
735
|
Meetup meetup = new Meetup(4, 2013);
|
736
736
|
assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST));
|