import org.junit.Ignore import org.junit.Test import java.time.DayOfWeek import java.time.LocalDate import kotlin.test.assertEquals /* * version: 1.0.0 */ class MeetupTest { @Test fun testMonteenthOfMay2013() { val expected = LocalDate.of(2013, 5, 13) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testMonteenthOfAugust2013() { val expected = LocalDate.of(2013, 8, 19) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testMonteenthOfSeptember2013() { val expected = LocalDate.of(2013, 9, 16) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testTuesteenthOfMarch2013() { val expected = LocalDate.of(2013, 3, 19) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testTuesteenthOfApril2013() { val expected = LocalDate.of(2013, 4, 16) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testTuesteenthOfAugust2013() { val expected = LocalDate.of(2013, 8, 13) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testWednesteenthOfJanuary2013() { val expected = LocalDate.of(2013, 1, 16) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testWednesteenthOfFebruary2013() { val expected = LocalDate.of(2013, 2, 13) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testWednesteenthOfJune2013() { val expected = LocalDate.of(2013, 6, 19) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testThursteenthOfMay2013() { val expected = LocalDate.of(2013, 5, 16) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testThursteenthOfJune2013() { val expected = LocalDate.of(2013, 6, 13) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testThursteenthOfSeptember2013() { val expected = LocalDate.of(2013, 9, 19) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testFriteenthOfApril2013() { val expected = LocalDate.of(2013, 4, 19) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testFriteenthOfAugust2013() { val expected = LocalDate.of(2013, 8, 16) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testFriteenthOfSeptember2013() { val expected = LocalDate.of(2013, 9, 13) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSaturteenthOfFebruary2013() { val expected = LocalDate.of(2013, 2, 16) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSaturteenthOfApril2013() { val expected = LocalDate.of(2013, 4, 13) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSaturteenthOfOctober2013() { val expected = LocalDate.of(2013, 10, 19) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSunteenthOfMay2013() { val expected = LocalDate.of(2013, 5, 19) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSunteenthOfJune2013() { val expected = LocalDate.of(2013, 6, 16) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testSunteenthOfOctober2013() { val expected = LocalDate.of(2013, 10, 13) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH)) } @Ignore @Test fun testFirstMondayOfMarch2013() { val expected = LocalDate.of(2013, 3, 4) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstMondayOfApril2013() { val expected = LocalDate.of(2013, 4, 1) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstTuesdayOfMay2013() { val expected = LocalDate.of(2013, 5, 7) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstTuesdayOfJune2013() { val expected = LocalDate.of(2013, 6, 4) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstWednesdayOfJuly2013() { val expected = LocalDate.of(2013, 7, 3) val meetup = Meetup(7, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstWednesdayOfAugust2013() { val expected = LocalDate.of(2013, 8, 7) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstThursdayOfSeptember2013() { val expected = LocalDate.of(2013, 9, 5) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstThursdayOfOctober2013() { val expected = LocalDate.of(2013, 10, 3) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstFridayOfNovember2013() { val expected = LocalDate.of(2013, 11, 1) val meetup = Meetup(11, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstFridayOfDecember2013() { val expected = LocalDate.of(2013, 12, 6) val meetup = Meetup(12, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstSaturdayOfJanuary2013() { val expected = LocalDate.of(2013, 1, 5) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstSaturdayOfFebruary2013() { val expected = LocalDate.of(2013, 2, 2) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstSundayOfMarch2013() { val expected = LocalDate.of(2013, 3, 3) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testFirstSundayOfApril2013() { val expected = LocalDate.of(2013, 4, 7) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST)) } @Ignore @Test fun testSecondMondayOfMarch2013() { val expected = LocalDate.of(2013, 3, 11) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondMondayOfApril2013() { val expected = LocalDate.of(2013, 4, 8) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondTuesdayOfMay2013() { val expected = LocalDate.of(2013, 5, 14) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondTuesdayOfJune2013() { val expected = LocalDate.of(2013, 6, 11) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondWednesdayOfJuly2013() { val expected = LocalDate.of(2013, 7, 10) val meetup = Meetup(7, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondWednesdayOfAugust2013() { val expected = LocalDate.of(2013, 8, 14) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondThursdayOfSeptember2013() { val expected = LocalDate.of(2013, 9, 12) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondThursdayOfOctober2013() { val expected = LocalDate.of(2013, 10, 10) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondFridayOfNovember2013() { val expected = LocalDate.of(2013, 11, 8) val meetup = Meetup(11, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondFridayOfDecember2013() { val expected = LocalDate.of(2013, 12, 13) val meetup = Meetup(12, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondSaturdayOfJanuary2013() { val expected = LocalDate.of(2013, 1, 12) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondSaturdayOfFebruary2013() { val expected = LocalDate.of(2013, 2, 9) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondSundayOfMarch2013() { val expected = LocalDate.of(2013, 3, 10) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testSecondSundayOfApril2013() { val expected = LocalDate.of(2013, 4, 14) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND)) } @Ignore @Test fun testThirdMondayOfMarch2013() { val expected = LocalDate.of(2013, 3, 18) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdMondayOfApril2013() { val expected = LocalDate.of(2013, 4, 15) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdTuesdayOfMay2013() { val expected = LocalDate.of(2013, 5, 21) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdTuesdayOfJune2013() { val expected = LocalDate.of(2013, 6, 18) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdWednesdayOfJuly2013() { val expected = LocalDate.of(2013, 7, 17) val meetup = Meetup(7, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdWednesdayOfAugust2013() { val expected = LocalDate.of(2013, 8, 21) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdThursdayOfSeptember2013() { val expected = LocalDate.of(2013, 9, 19) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdThursdayOfOctober2013() { val expected = LocalDate.of(2013, 10, 17) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdFridayOfNovember2013() { val expected = LocalDate.of(2013, 11, 15) val meetup = Meetup(11, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdFridayOfDecember2013() { val expected = LocalDate.of(2013, 12, 20) val meetup = Meetup(12, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdSaturdayOfJanuary2013() { val expected = LocalDate.of(2013, 1, 19) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdSaturdayOfFebruary2013() { val expected = LocalDate.of(2013, 2, 16) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdSundayOfMarch2013() { val expected = LocalDate.of(2013, 3, 17) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testThirdSundayOfApril2013() { val expected = LocalDate.of(2013, 4, 21) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD)) } @Ignore @Test fun testFourthMondayOfMarch2013() { val expected = LocalDate.of(2013, 3, 25) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthMondayOfApril2013() { val expected = LocalDate.of(2013, 4, 22) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthTuesdayOfMay2013() { val expected = LocalDate.of(2013, 5, 28) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthTuesdayOfJune2013() { val expected = LocalDate.of(2013, 6, 25) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthWednesdayOfJuly2013() { val expected = LocalDate.of(2013, 7, 24) val meetup = Meetup(7, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthWednesdayOfAugust2013() { val expected = LocalDate.of(2013, 8, 28) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthThursdayOfSeptember2013() { val expected = LocalDate.of(2013, 9, 26) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthThursdayOfOctober2013() { val expected = LocalDate.of(2013, 10, 24) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthFridayOfNovember2013() { val expected = LocalDate.of(2013, 11, 22) val meetup = Meetup(11, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthFridayOfDecember2013() { val expected = LocalDate.of(2013, 12, 27) val meetup = Meetup(12, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthSaturdayOfJanuary2013() { val expected = LocalDate.of(2013, 1, 26) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthSaturdayOfFebruary2013() { val expected = LocalDate.of(2013, 2, 23) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthSundayOfMarch2013() { val expected = LocalDate.of(2013, 3, 24) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testFourthSundayOfApril2013() { val expected = LocalDate.of(2013, 4, 28) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH)) } @Ignore @Test fun testLastMondayOfMarch2013() { val expected = LocalDate.of(2013, 3, 25) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastMondayOfApril2013() { val expected = LocalDate.of(2013, 4, 29) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastTuesdayOfMay2013() { val expected = LocalDate.of(2013, 5, 28) val meetup = Meetup(5, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastTuesdayOfJune2013() { val expected = LocalDate.of(2013, 6, 25) val meetup = Meetup(6, 2013) assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastWednesdayOfJuly2013() { val expected = LocalDate.of(2013, 7, 31) val meetup = Meetup(7, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastWednesdayOfAugust2013() { val expected = LocalDate.of(2013, 8, 28) val meetup = Meetup(8, 2013) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastThursdayOfSeptember2013() { val expected = LocalDate.of(2013, 9, 26) val meetup = Meetup(9, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastThursdayOfOctober2013() { val expected = LocalDate.of(2013, 10, 31) val meetup = Meetup(10, 2013) assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastFridayOfNovember2013() { val expected = LocalDate.of(2013, 11, 29) val meetup = Meetup(11, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastFridayOfDecember2013() { val expected = LocalDate.of(2013, 12, 27) val meetup = Meetup(12, 2013) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastSaturdayOfJanuary2013() { val expected = LocalDate.of(2013, 1, 26) val meetup = Meetup(1, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastSaturdayOfFebruary2013() { val expected = LocalDate.of(2013, 2, 23) val meetup = Meetup(2, 2013) assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastSundayOfMarch2013() { val expected = LocalDate.of(2013, 3, 31) val meetup = Meetup(3, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastSundayOfApril2013() { val expected = LocalDate.of(2013, 4, 28) val meetup = Meetup(4, 2013) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastWednesdayOfFebruary2012() { val expected = LocalDate.of(2012, 2, 29) val meetup = Meetup(2, 2012) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastWednesdayOfDecember2014() { val expected = LocalDate.of(2014, 12, 31) val meetup = Meetup(12, 2014) assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testLastSundayOfFebruary2015() { val expected = LocalDate.of(2015, 2, 22) val meetup = Meetup(2, 2015) assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST)) } @Ignore @Test fun testFirstFridayOfDecember2012() { val expected = LocalDate.of(2012, 12, 7) val meetup = Meetup(12, 2012) assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST)) } }