module MeetupTest open System open Xunit open FsUnit.Xunit open Meetup [] [] [] [] [] [] [] [] let ``Finds first teenth day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.Teenth 2013 month day.ToString("yyyy-M-d") |> should equal expected [] [] [] [] [] [] [] [] let ``Finds first day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.First 2013 month day.ToString("yyyy-M-d") |> should equal expected [] [] [] [] [] [] [] [] let ``Finds second day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.Second 2013 month day.ToString("yyyy-M-d") |> should equal expected [] [] [] [] [] [] [] [] let ``Finds third day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.Third 2013 month day.ToString("yyyy-M-d") |> should equal expected [] [] [] [] [] [] [] [] let ``Finds fourth day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.Fourth 2013 month day.ToString("yyyy-M-d") |> should equal expected [] [] [] [] [] [] [] [] let ``Finds last day of week in a month``(month: int) (dayOfWeek: DayOfWeek) (expected: string) = let day = meetupDay dayOfWeek Schedule.Last 2013 month day.ToString("yyyy-M-d") |> should equal expected