exercism/go/meetup
2016-09-09 11:24:29 -05:00
..
cases_test.go Syncing Up 2016-09-09 11:24:29 -05:00
meetup_test.go Syncing Up 2016-09-09 11:24:29 -05:00
meetup.go Syncing Up 2016-09-09 11:24:29 -05:00
README.md Syncing Up 2016-09-09 11:24:29 -05:00

Meetup

Calculate the date of meetups.

Typically meetups happen on the same day of the week.

Examples are

  • the first Monday
  • the third Tuesday
  • the Wednesteenth
  • the last Thursday

Note that "Monteenth", "Tuesteenth", etc are all made up words. There was a meetup whose members realised that there are exactly 7 days that end in '-teenth'. Therefore, one is guaranteed that each day of the week (Monday, Tuesday, ...) will have exactly one date that is named with '-teenth' in every month.

To run the tests simply run the command go test in the exercise directory.

If the test suite contains benchmarks, you can run these with the -bench flag:

go test -bench .

For more detailed info about the Go track see the help page.

Source

Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month https://twitter.com/copiousfreetime

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.