trackler 2.2.1.88 → 2.2.1.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/bowling/canonical-data.json +95 -39
  4. data/problem-specifications/exercises/gigasecond/canonical-data.json +17 -7
  5. data/problem-specifications/exercises/pangram/canonical-data.json +32 -12
  6. data/problem-specifications/exercises/say/canonical-data.json +47 -17
  7. data/problem-specifications/exercises/sum-of-multiples/canonical-data.json +54 -28
  8. data/problem-specifications/exercises/triangle/canonical-data.json +52 -18
  9. data/problem-specifications/exercises/two-bucket/canonical-data.json +38 -26
  10. data/problem-specifications/exercises/two-fer/canonical-data.json +14 -8
  11. data/problem-specifications/exercises/word-count/canonical-data.json +35 -13
  12. data/problem-specifications/exercises/wordy/canonical-data.json +50 -18
  13. data/tracks/bash/exercises/leap/.meta/version +1 -0
  14. data/tracks/bash/exercises/leap/example.sh +9 -9
  15. data/tracks/bash/exercises/leap/leap_test.sh +17 -33
  16. data/tracks/ceylon/exercises/anagram/source/anagram/AnagramTest.ceylon +1 -1
  17. data/tracks/ceylon/exercises/bracket-push/source/bracketpush/BracketsTest.ceylon +1 -1
  18. data/tracks/ceylon/exercises/rna-transcription/source/rnatranscription/RNATest.ceylon +2 -1
  19. data/tracks/fsharp/build.cake +2 -7
  20. data/tracks/fsharp/exercises/acronym/AcronymTest.fs +1 -1
  21. data/tracks/fsharp/exercises/all-your-base/AllYourBase.fs +1 -1
  22. data/tracks/fsharp/exercises/all-your-base/AllYourBaseTest.fs +43 -43
  23. data/tracks/fsharp/exercises/all-your-base/Example.fs +5 -5
  24. data/tracks/fsharp/exercises/allergies/AllergiesTest.fs +1 -1
  25. data/tracks/fsharp/exercises/alphametics/AlphameticsTest.fs +19 -1
  26. data/tracks/fsharp/exercises/alphametics/Example.fs +53 -34
  27. data/tracks/fsharp/exercises/anagram/AnagramTest.fs +1 -1
  28. data/tracks/fsharp/exercises/atbash-cipher/AtbashCipherTest.fs +1 -1
  29. data/tracks/fsharp/exercises/beer-song/BeerSongTest.fs +1 -1
  30. data/tracks/fsharp/exercises/binary-search/BinarySearchTest.fs +1 -1
  31. data/tracks/fsharp/exercises/bob/BobTest.fs +1 -1
  32. data/tracks/fsharp/exercises/book-store/BookStoreTest.fs +1 -1
  33. data/tracks/fsharp/exercises/bracket-push/BracketPushTest.fs +1 -1
  34. data/tracks/fsharp/exercises/change/ChangeTest.fs +1 -1
  35. data/tracks/fsharp/exercises/collatz-conjecture/CollatzConjectureTest.fs +1 -1
  36. data/tracks/fsharp/exercises/connect/ConnectTest.fs +1 -1
  37. data/tracks/fsharp/exercises/crypto-square/CryptoSquareTest.fs +1 -1
  38. data/tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs +1 -1
  39. data/tracks/fsharp/exercises/dominoes/DominoesTest.fs +25 -25
  40. data/tracks/fsharp/exercises/etl/EtlTest.fs +8 -8
  41. data/tracks/fsharp/exercises/isbn-verifier/IsbnVerifierTest.fs +5 -1
  42. data/tracks/fsharp/exercises/luhn/LuhnTest.fs +1 -1
  43. data/tracks/fsharp/exercises/meetup/Example.fs +11 -11
  44. data/tracks/fsharp/exercises/meetup/Meetup.fs +2 -2
  45. data/tracks/fsharp/exercises/meetup/MeetupTest.fs +96 -96
  46. data/tracks/fsharp/exercises/robot-simulator/Example.fs +21 -21
  47. data/tracks/fsharp/exercises/robot-simulator/RobotSimulator.fs +5 -5
  48. data/tracks/fsharp/exercises/robot-simulator/RobotSimulatorTest.fs +78 -96
  49. data/tracks/fsharp/generators/CanonicalData.fs +50 -4
  50. data/tracks/fsharp/generators/Common.fs +4 -13
  51. data/tracks/fsharp/generators/Exercise.fs +31 -15
  52. data/tracks/fsharp/generators/Generators.fs +76 -111
  53. data/tracks/haskell/exercises/alphametics/package.yaml +1 -1
  54. data/tracks/haskell/exercises/alphametics/test/Tests.hs +5 -0
  55. data/tracks/haskell/exercises/bowling/package.yaml +1 -1
  56. data/tracks/haskell/exercises/pangram/package.yaml +1 -1
  57. data/tracks/haskell/exercises/say/package.yaml +1 -1
  58. data/tracks/haskell/exercises/sum-of-multiples/package.yaml +1 -1
  59. data/tracks/haskell/exercises/word-count/package.yaml +1 -1
  60. data/tracks/haskell/exercises/wordy/package.yaml +1 -1
  61. data/tracks/java/exercises/nucleotide-count/.meta/hints.md +58 -0
  62. data/tracks/java/exercises/nucleotide-count/README.md +62 -0
  63. metadata +4 -2
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.1.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.2.0 of the canonical data.
2
2
 
3
3
  module BracketPushTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.1.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.2.0 of the canonical data.
2
2
 
3
3
  module ChangeTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.1.1 of the canonical data.
1
+ // This file was auto-generated based on version 1.2.0 of the canonical data.
2
2
 
3
3
  module CollatzConjectureTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.0.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.1.0 of the canonical data.
2
2
 
3
3
  module ConnectTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 3.1.0 of the canonical data.
1
+ // This file was auto-generated based on version 3.2.0 of the canonical data.
2
2
 
3
3
  module CryptoSquareTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.1.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.2.0 of the canonical data.
2
2
 
3
3
  module DifferenceOfSquaresTest
4
4
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 2.0.0 of the canonical data.
1
+ // This file was auto-generated based on version 2.1.0 of the canonical data.
2
2
 
3
3
  module DominoesTest
4
4
 
@@ -9,61 +9,61 @@ open Dominoes
9
9
 
10
10
  [<Fact>]
11
11
  let ``Empty input = empty output`` () =
12
- let input = []
13
- canChain input |> should equal true
12
+ let dominoes = []
13
+ canChain dominoes |> should equal true
14
14
 
15
15
  [<Fact(Skip = "Remove to run test")>]
16
16
  let ``Singleton input = singleton output`` () =
17
- let input = [(1, 1)]
18
- canChain input |> should equal true
17
+ let dominoes = [(1, 1)]
18
+ canChain dominoes |> should equal true
19
19
 
20
20
  [<Fact(Skip = "Remove to run test")>]
21
21
  let ``Singleton that can't be chained`` () =
22
- let input = [(1, 2)]
23
- canChain input |> should equal false
22
+ let dominoes = [(1, 2)]
23
+ canChain dominoes |> should equal false
24
24
 
25
25
  [<Fact(Skip = "Remove to run test")>]
26
26
  let ``Three elements`` () =
27
- let input = [(1, 2); (3, 1); (2, 3)]
28
- canChain input |> should equal true
27
+ let dominoes = [(1, 2); (3, 1); (2, 3)]
28
+ canChain dominoes |> should equal true
29
29
 
30
30
  [<Fact(Skip = "Remove to run test")>]
31
31
  let ``Can reverse dominoes`` () =
32
- let input = [(1, 2); (1, 3); (2, 3)]
33
- canChain input |> should equal true
32
+ let dominoes = [(1, 2); (1, 3); (2, 3)]
33
+ canChain dominoes |> should equal true
34
34
 
35
35
  [<Fact(Skip = "Remove to run test")>]
36
36
  let ``Can't be chained`` () =
37
- let input = [(1, 2); (4, 1); (2, 3)]
38
- canChain input |> should equal false
37
+ let dominoes = [(1, 2); (4, 1); (2, 3)]
38
+ canChain dominoes |> should equal false
39
39
 
40
40
  [<Fact(Skip = "Remove to run test")>]
41
41
  let ``Disconnected - simple`` () =
42
- let input = [(1, 1); (2, 2)]
43
- canChain input |> should equal false
42
+ let dominoes = [(1, 1); (2, 2)]
43
+ canChain dominoes |> should equal false
44
44
 
45
45
  [<Fact(Skip = "Remove to run test")>]
46
46
  let ``Disconnected - double loop`` () =
47
- let input = [(1, 2); (2, 1); (3, 4); (4, 3)]
48
- canChain input |> should equal false
47
+ let dominoes = [(1, 2); (2, 1); (3, 4); (4, 3)]
48
+ canChain dominoes |> should equal false
49
49
 
50
50
  [<Fact(Skip = "Remove to run test")>]
51
51
  let ``Disconnected - single isolated`` () =
52
- let input = [(1, 2); (2, 3); (3, 1); (4, 4)]
53
- canChain input |> should equal false
52
+ let dominoes = [(1, 2); (2, 3); (3, 1); (4, 4)]
53
+ canChain dominoes |> should equal false
54
54
 
55
55
  [<Fact(Skip = "Remove to run test")>]
56
56
  let ``Need backtrack`` () =
57
- let input = [(1, 2); (2, 3); (3, 1); (2, 4); (2, 4)]
58
- canChain input |> should equal true
57
+ let dominoes = [(1, 2); (2, 3); (3, 1); (2, 4); (2, 4)]
58
+ canChain dominoes |> should equal true
59
59
 
60
60
  [<Fact(Skip = "Remove to run test")>]
61
61
  let ``Separate loops`` () =
62
- let input = [(1, 2); (2, 3); (3, 1); (1, 1); (2, 2); (3, 3)]
63
- canChain input |> should equal true
62
+ let dominoes = [(1, 2); (2, 3); (3, 1); (1, 1); (2, 2); (3, 3)]
63
+ canChain dominoes |> should equal true
64
64
 
65
65
  [<Fact(Skip = "Remove to run test")>]
66
66
  let ``Nine elements`` () =
67
- let input = [(1, 2); (5, 3); (3, 1); (1, 2); (2, 4); (1, 6); (2, 3); (3, 4); (5, 6)]
68
- canChain input |> should equal true
67
+ let dominoes = [(1, 2); (5, 3); (3, 1); (1, 2); (2, 4); (1, 6); (2, 3); (3, 4); (5, 6)]
68
+ canChain dominoes |> should equal true
69
69
 
@@ -9,13 +9,13 @@ open Etl
9
9
 
10
10
  [<Fact>]
11
11
  let ``A single letter`` () =
12
- let input = [(1, ['A'])] |> Map.ofList
12
+ let lettersByScore = [(1, ['A'])] |> Map.ofList
13
13
  let expected = [('a', 1)] |> Map.ofList
14
- transform input |> should equal expected
14
+ transform lettersByScore |> should equal expected
15
15
 
16
16
  [<Fact(Skip = "Remove to run test")>]
17
17
  let ``Single score with multiple letters`` () =
18
- let input = [(1, ['A'; 'E'; 'I'; 'O'; 'U'])] |> Map.ofList
18
+ let lettersByScore = [(1, ['A'; 'E'; 'I'; 'O'; 'U'])] |> Map.ofList
19
19
  let expected =
20
20
  [ ('a', 1);
21
21
  ('e', 1);
@@ -23,11 +23,11 @@ let ``Single score with multiple letters`` () =
23
23
  ('o', 1);
24
24
  ('u', 1) ]
25
25
  |> Map.ofList
26
- transform input |> should equal expected
26
+ transform lettersByScore |> should equal expected
27
27
 
28
28
  [<Fact(Skip = "Remove to run test")>]
29
29
  let ``Multiple scores with multiple letters`` () =
30
- let input =
30
+ let lettersByScore =
31
31
  [ (1, ['A'; 'E']);
32
32
  (2, ['D'; 'G']) ]
33
33
  |> Map.ofList
@@ -37,11 +37,11 @@ let ``Multiple scores with multiple letters`` () =
37
37
  ('e', 1);
38
38
  ('g', 2) ]
39
39
  |> Map.ofList
40
- transform input |> should equal expected
40
+ transform lettersByScore |> should equal expected
41
41
 
42
42
  [<Fact(Skip = "Remove to run test")>]
43
43
  let ``Multiple scores with differing numbers of letters`` () =
44
- let input =
44
+ let lettersByScore =
45
45
  [ (1, ['A'; 'E'; 'I'; 'O'; 'U'; 'L'; 'N'; 'R'; 'S'; 'T']);
46
46
  (2, ['D'; 'G']);
47
47
  (3, ['B'; 'C'; 'M'; 'P']);
@@ -78,5 +78,5 @@ let ``Multiple scores with differing numbers of letters`` () =
78
78
  ('y', 4);
79
79
  ('z', 10) ]
80
80
  |> Map.ofList
81
- transform input |> should equal expected
81
+ transform lettersByScore |> should equal expected
82
82
 
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 2.0.0 of the canonical data.
1
+ // This file was auto-generated based on version 2.2.0 of the canonical data.
2
2
 
3
3
  module IsbnVerifierTest
4
4
 
@@ -59,3 +59,7 @@ let ``Too long isbn`` () =
59
59
  let ``Check digit of X should not be used for 0`` () =
60
60
  isValid "3-598-21515-X" |> should equal false
61
61
 
62
+ [<Fact(Skip = "Remove to run test")>]
63
+ let ``Empty isbn`` () =
64
+ isValid "" |> should equal false
65
+
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.0.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.1.0 of the canonical data.
2
2
 
3
3
  module LuhnTest
4
4
 
@@ -2,18 +2,18 @@
2
2
 
3
3
  open System
4
4
 
5
- type Schedule = First | Second | Third | Fourth | Last | Teenth
5
+ type Week = First | Second | Third | Fourth | Last | Teenth
6
6
 
7
- let meetup year month dayOfWeek schedule =
7
+ let meetup year month week dayOfWeek =
8
8
  let daysOfWeek =
9
- [1..DateTime.DaysInMonth(year, month)]
10
- |> List.map (fun day -> new DateTime(year, month, day))
9
+ [1 .. DateTime.DaysInMonth(year, month)]
10
+ |> List.map (fun day -> DateTime(year, month, day))
11
11
  |> List.filter (fun date -> date.DayOfWeek = dayOfWeek)
12
12
 
13
- match schedule with
14
- | Schedule.First -> daysOfWeek |> List.item 0
15
- | Schedule.Second -> daysOfWeek |> List.item 1
16
- | Schedule.Third -> daysOfWeek |> List.item 2
17
- | Schedule.Fourth -> daysOfWeek |> List.item 3
18
- | Schedule.Last -> daysOfWeek |> List.last
19
- | Schedule.Teenth -> daysOfWeek |> List.find (fun date -> date.Day >= 13)
13
+ match week with
14
+ | Week.First -> daysOfWeek |> List.item 0
15
+ | Week.Second -> daysOfWeek |> List.item 1
16
+ | Week.Third -> daysOfWeek |> List.item 2
17
+ | Week.Fourth -> daysOfWeek |> List.item 3
18
+ | Week.Last -> daysOfWeek |> List.last
19
+ | Week.Teenth -> daysOfWeek |> List.find (fun date -> date.Day >= 13)
@@ -2,6 +2,6 @@
2
2
 
3
3
  open System
4
4
 
5
- type Schedule = First | Second | Third | Fourth | Last | Teenth
5
+ type Week = First | Second | Third | Fourth | Last | Teenth
6
6
 
7
- let meetup year month dayOfWeek schedule: DateTime = failwith "You need to implement this function."
7
+ let meetup year month week dayOfWeek: DateTime = failwith "You need to implement this function."
@@ -1,4 +1,4 @@
1
- // This file was auto-generated based on version 1.0.0 of the canonical data.
1
+ // This file was auto-generated based on version 1.1.0 of the canonical data.
2
2
 
3
3
  module MeetupTest
4
4
 
@@ -10,381 +10,381 @@ open Meetup
10
10
 
11
11
  [<Fact>]
12
12
  let ``Monteenth of May 2013`` () =
13
- meetup 2013 5 DayOfWeek.Monday Schedule.Teenth |> should equal (DateTime(2013, 5, 13))
13
+ meetup 2013 5 Week.Teenth DayOfWeek.Monday |> should equal (DateTime(2013, 5, 13))
14
14
 
15
15
  [<Fact(Skip = "Remove to run test")>]
16
16
  let ``Monteenth of August 2013`` () =
17
- meetup 2013 8 DayOfWeek.Monday Schedule.Teenth |> should equal (DateTime(2013, 8, 19))
17
+ meetup 2013 8 Week.Teenth DayOfWeek.Monday |> should equal (DateTime(2013, 8, 19))
18
18
 
19
19
  [<Fact(Skip = "Remove to run test")>]
20
20
  let ``Monteenth of September 2013`` () =
21
- meetup 2013 9 DayOfWeek.Monday Schedule.Teenth |> should equal (DateTime(2013, 9, 16))
21
+ meetup 2013 9 Week.Teenth DayOfWeek.Monday |> should equal (DateTime(2013, 9, 16))
22
22
 
23
23
  [<Fact(Skip = "Remove to run test")>]
24
24
  let ``Tuesteenth of March 2013`` () =
25
- meetup 2013 3 DayOfWeek.Tuesday Schedule.Teenth |> should equal (DateTime(2013, 3, 19))
25
+ meetup 2013 3 Week.Teenth DayOfWeek.Tuesday |> should equal (DateTime(2013, 3, 19))
26
26
 
27
27
  [<Fact(Skip = "Remove to run test")>]
28
28
  let ``Tuesteenth of April 2013`` () =
29
- meetup 2013 4 DayOfWeek.Tuesday Schedule.Teenth |> should equal (DateTime(2013, 4, 16))
29
+ meetup 2013 4 Week.Teenth DayOfWeek.Tuesday |> should equal (DateTime(2013, 4, 16))
30
30
 
31
31
  [<Fact(Skip = "Remove to run test")>]
32
32
  let ``Tuesteenth of August 2013`` () =
33
- meetup 2013 8 DayOfWeek.Tuesday Schedule.Teenth |> should equal (DateTime(2013, 8, 13))
33
+ meetup 2013 8 Week.Teenth DayOfWeek.Tuesday |> should equal (DateTime(2013, 8, 13))
34
34
 
35
35
  [<Fact(Skip = "Remove to run test")>]
36
36
  let ``Wednesteenth of January 2013`` () =
37
- meetup 2013 1 DayOfWeek.Wednesday Schedule.Teenth |> should equal (DateTime(2013, 1, 16))
37
+ meetup 2013 1 Week.Teenth DayOfWeek.Wednesday |> should equal (DateTime(2013, 1, 16))
38
38
 
39
39
  [<Fact(Skip = "Remove to run test")>]
40
40
  let ``Wednesteenth of February 2013`` () =
41
- meetup 2013 2 DayOfWeek.Wednesday Schedule.Teenth |> should equal (DateTime(2013, 2, 13))
41
+ meetup 2013 2 Week.Teenth DayOfWeek.Wednesday |> should equal (DateTime(2013, 2, 13))
42
42
 
43
43
  [<Fact(Skip = "Remove to run test")>]
44
44
  let ``Wednesteenth of June 2013`` () =
45
- meetup 2013 6 DayOfWeek.Wednesday Schedule.Teenth |> should equal (DateTime(2013, 6, 19))
45
+ meetup 2013 6 Week.Teenth DayOfWeek.Wednesday |> should equal (DateTime(2013, 6, 19))
46
46
 
47
47
  [<Fact(Skip = "Remove to run test")>]
48
48
  let ``Thursteenth of May 2013`` () =
49
- meetup 2013 5 DayOfWeek.Thursday Schedule.Teenth |> should equal (DateTime(2013, 5, 16))
49
+ meetup 2013 5 Week.Teenth DayOfWeek.Thursday |> should equal (DateTime(2013, 5, 16))
50
50
 
51
51
  [<Fact(Skip = "Remove to run test")>]
52
52
  let ``Thursteenth of June 2013`` () =
53
- meetup 2013 6 DayOfWeek.Thursday Schedule.Teenth |> should equal (DateTime(2013, 6, 13))
53
+ meetup 2013 6 Week.Teenth DayOfWeek.Thursday |> should equal (DateTime(2013, 6, 13))
54
54
 
55
55
  [<Fact(Skip = "Remove to run test")>]
56
56
  let ``Thursteenth of September 2013`` () =
57
- meetup 2013 9 DayOfWeek.Thursday Schedule.Teenth |> should equal (DateTime(2013, 9, 19))
57
+ meetup 2013 9 Week.Teenth DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 19))
58
58
 
59
59
  [<Fact(Skip = "Remove to run test")>]
60
60
  let ``Friteenth of April 2013`` () =
61
- meetup 2013 4 DayOfWeek.Friday Schedule.Teenth |> should equal (DateTime(2013, 4, 19))
61
+ meetup 2013 4 Week.Teenth DayOfWeek.Friday |> should equal (DateTime(2013, 4, 19))
62
62
 
63
63
  [<Fact(Skip = "Remove to run test")>]
64
64
  let ``Friteenth of August 2013`` () =
65
- meetup 2013 8 DayOfWeek.Friday Schedule.Teenth |> should equal (DateTime(2013, 8, 16))
65
+ meetup 2013 8 Week.Teenth DayOfWeek.Friday |> should equal (DateTime(2013, 8, 16))
66
66
 
67
67
  [<Fact(Skip = "Remove to run test")>]
68
68
  let ``Friteenth of September 2013`` () =
69
- meetup 2013 9 DayOfWeek.Friday Schedule.Teenth |> should equal (DateTime(2013, 9, 13))
69
+ meetup 2013 9 Week.Teenth DayOfWeek.Friday |> should equal (DateTime(2013, 9, 13))
70
70
 
71
71
  [<Fact(Skip = "Remove to run test")>]
72
72
  let ``Saturteenth of February 2013`` () =
73
- meetup 2013 2 DayOfWeek.Saturday Schedule.Teenth |> should equal (DateTime(2013, 2, 16))
73
+ meetup 2013 2 Week.Teenth DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 16))
74
74
 
75
75
  [<Fact(Skip = "Remove to run test")>]
76
76
  let ``Saturteenth of April 2013`` () =
77
- meetup 2013 4 DayOfWeek.Saturday Schedule.Teenth |> should equal (DateTime(2013, 4, 13))
77
+ meetup 2013 4 Week.Teenth DayOfWeek.Saturday |> should equal (DateTime(2013, 4, 13))
78
78
 
79
79
  [<Fact(Skip = "Remove to run test")>]
80
80
  let ``Saturteenth of October 2013`` () =
81
- meetup 2013 10 DayOfWeek.Saturday Schedule.Teenth |> should equal (DateTime(2013, 10, 19))
81
+ meetup 2013 10 Week.Teenth DayOfWeek.Saturday |> should equal (DateTime(2013, 10, 19))
82
82
 
83
83
  [<Fact(Skip = "Remove to run test")>]
84
84
  let ``Sunteenth of May 2013`` () =
85
- meetup 2013 5 DayOfWeek.Sunday Schedule.Teenth |> should equal (DateTime(2013, 5, 19))
85
+ meetup 2013 5 Week.Teenth DayOfWeek.Sunday |> should equal (DateTime(2013, 5, 19))
86
86
 
87
87
  [<Fact(Skip = "Remove to run test")>]
88
88
  let ``Sunteenth of June 2013`` () =
89
- meetup 2013 6 DayOfWeek.Sunday Schedule.Teenth |> should equal (DateTime(2013, 6, 16))
89
+ meetup 2013 6 Week.Teenth DayOfWeek.Sunday |> should equal (DateTime(2013, 6, 16))
90
90
 
91
91
  [<Fact(Skip = "Remove to run test")>]
92
92
  let ``Sunteenth of October 2013`` () =
93
- meetup 2013 10 DayOfWeek.Sunday Schedule.Teenth |> should equal (DateTime(2013, 10, 13))
93
+ meetup 2013 10 Week.Teenth DayOfWeek.Sunday |> should equal (DateTime(2013, 10, 13))
94
94
 
95
95
  [<Fact(Skip = "Remove to run test")>]
96
96
  let ``First Monday of March 2013`` () =
97
- meetup 2013 3 DayOfWeek.Monday Schedule.First |> should equal (DateTime(2013, 3, 4))
97
+ meetup 2013 3 Week.First DayOfWeek.Monday |> should equal (DateTime(2013, 3, 4))
98
98
 
99
99
  [<Fact(Skip = "Remove to run test")>]
100
100
  let ``First Monday of April 2013`` () =
101
- meetup 2013 4 DayOfWeek.Monday Schedule.First |> should equal (DateTime(2013, 4, 1))
101
+ meetup 2013 4 Week.First DayOfWeek.Monday |> should equal (DateTime(2013, 4, 1))
102
102
 
103
103
  [<Fact(Skip = "Remove to run test")>]
104
104
  let ``First Tuesday of May 2013`` () =
105
- meetup 2013 5 DayOfWeek.Tuesday Schedule.First |> should equal (DateTime(2013, 5, 7))
105
+ meetup 2013 5 Week.First DayOfWeek.Tuesday |> should equal (DateTime(2013, 5, 7))
106
106
 
107
107
  [<Fact(Skip = "Remove to run test")>]
108
108
  let ``First Tuesday of June 2013`` () =
109
- meetup 2013 6 DayOfWeek.Tuesday Schedule.First |> should equal (DateTime(2013, 6, 4))
109
+ meetup 2013 6 Week.First DayOfWeek.Tuesday |> should equal (DateTime(2013, 6, 4))
110
110
 
111
111
  [<Fact(Skip = "Remove to run test")>]
112
112
  let ``First Wednesday of July 2013`` () =
113
- meetup 2013 7 DayOfWeek.Wednesday Schedule.First |> should equal (DateTime(2013, 7, 3))
113
+ meetup 2013 7 Week.First DayOfWeek.Wednesday |> should equal (DateTime(2013, 7, 3))
114
114
 
115
115
  [<Fact(Skip = "Remove to run test")>]
116
116
  let ``First Wednesday of August 2013`` () =
117
- meetup 2013 8 DayOfWeek.Wednesday Schedule.First |> should equal (DateTime(2013, 8, 7))
117
+ meetup 2013 8 Week.First DayOfWeek.Wednesday |> should equal (DateTime(2013, 8, 7))
118
118
 
119
119
  [<Fact(Skip = "Remove to run test")>]
120
120
  let ``First Thursday of September 2013`` () =
121
- meetup 2013 9 DayOfWeek.Thursday Schedule.First |> should equal (DateTime(2013, 9, 5))
121
+ meetup 2013 9 Week.First DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 5))
122
122
 
123
123
  [<Fact(Skip = "Remove to run test")>]
124
124
  let ``First Thursday of October 2013`` () =
125
- meetup 2013 10 DayOfWeek.Thursday Schedule.First |> should equal (DateTime(2013, 10, 3))
125
+ meetup 2013 10 Week.First DayOfWeek.Thursday |> should equal (DateTime(2013, 10, 3))
126
126
 
127
127
  [<Fact(Skip = "Remove to run test")>]
128
128
  let ``First Friday of November 2013`` () =
129
- meetup 2013 11 DayOfWeek.Friday Schedule.First |> should equal (DateTime(2013, 11, 1))
129
+ meetup 2013 11 Week.First DayOfWeek.Friday |> should equal (DateTime(2013, 11, 1))
130
130
 
131
131
  [<Fact(Skip = "Remove to run test")>]
132
132
  let ``First Friday of December 2013`` () =
133
- meetup 2013 12 DayOfWeek.Friday Schedule.First |> should equal (DateTime(2013, 12, 6))
133
+ meetup 2013 12 Week.First DayOfWeek.Friday |> should equal (DateTime(2013, 12, 6))
134
134
 
135
135
  [<Fact(Skip = "Remove to run test")>]
136
136
  let ``First Saturday of January 2013`` () =
137
- meetup 2013 1 DayOfWeek.Saturday Schedule.First |> should equal (DateTime(2013, 1, 5))
137
+ meetup 2013 1 Week.First DayOfWeek.Saturday |> should equal (DateTime(2013, 1, 5))
138
138
 
139
139
  [<Fact(Skip = "Remove to run test")>]
140
140
  let ``First Saturday of February 2013`` () =
141
- meetup 2013 2 DayOfWeek.Saturday Schedule.First |> should equal (DateTime(2013, 2, 2))
141
+ meetup 2013 2 Week.First DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 2))
142
142
 
143
143
  [<Fact(Skip = "Remove to run test")>]
144
144
  let ``First Sunday of March 2013`` () =
145
- meetup 2013 3 DayOfWeek.Sunday Schedule.First |> should equal (DateTime(2013, 3, 3))
145
+ meetup 2013 3 Week.First DayOfWeek.Sunday |> should equal (DateTime(2013, 3, 3))
146
146
 
147
147
  [<Fact(Skip = "Remove to run test")>]
148
148
  let ``First Sunday of April 2013`` () =
149
- meetup 2013 4 DayOfWeek.Sunday Schedule.First |> should equal (DateTime(2013, 4, 7))
149
+ meetup 2013 4 Week.First DayOfWeek.Sunday |> should equal (DateTime(2013, 4, 7))
150
150
 
151
151
  [<Fact(Skip = "Remove to run test")>]
152
152
  let ``Second Monday of March 2013`` () =
153
- meetup 2013 3 DayOfWeek.Monday Schedule.Second |> should equal (DateTime(2013, 3, 11))
153
+ meetup 2013 3 Week.Second DayOfWeek.Monday |> should equal (DateTime(2013, 3, 11))
154
154
 
155
155
  [<Fact(Skip = "Remove to run test")>]
156
156
  let ``Second Monday of April 2013`` () =
157
- meetup 2013 4 DayOfWeek.Monday Schedule.Second |> should equal (DateTime(2013, 4, 8))
157
+ meetup 2013 4 Week.Second DayOfWeek.Monday |> should equal (DateTime(2013, 4, 8))
158
158
 
159
159
  [<Fact(Skip = "Remove to run test")>]
160
160
  let ``Second Tuesday of May 2013`` () =
161
- meetup 2013 5 DayOfWeek.Tuesday Schedule.Second |> should equal (DateTime(2013, 5, 14))
161
+ meetup 2013 5 Week.Second DayOfWeek.Tuesday |> should equal (DateTime(2013, 5, 14))
162
162
 
163
163
  [<Fact(Skip = "Remove to run test")>]
164
164
  let ``Second Tuesday of June 2013`` () =
165
- meetup 2013 6 DayOfWeek.Tuesday Schedule.Second |> should equal (DateTime(2013, 6, 11))
165
+ meetup 2013 6 Week.Second DayOfWeek.Tuesday |> should equal (DateTime(2013, 6, 11))
166
166
 
167
167
  [<Fact(Skip = "Remove to run test")>]
168
168
  let ``Second Wednesday of July 2013`` () =
169
- meetup 2013 7 DayOfWeek.Wednesday Schedule.Second |> should equal (DateTime(2013, 7, 10))
169
+ meetup 2013 7 Week.Second DayOfWeek.Wednesday |> should equal (DateTime(2013, 7, 10))
170
170
 
171
171
  [<Fact(Skip = "Remove to run test")>]
172
172
  let ``Second Wednesday of August 2013`` () =
173
- meetup 2013 8 DayOfWeek.Wednesday Schedule.Second |> should equal (DateTime(2013, 8, 14))
173
+ meetup 2013 8 Week.Second DayOfWeek.Wednesday |> should equal (DateTime(2013, 8, 14))
174
174
 
175
175
  [<Fact(Skip = "Remove to run test")>]
176
176
  let ``Second Thursday of September 2013`` () =
177
- meetup 2013 9 DayOfWeek.Thursday Schedule.Second |> should equal (DateTime(2013, 9, 12))
177
+ meetup 2013 9 Week.Second DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 12))
178
178
 
179
179
  [<Fact(Skip = "Remove to run test")>]
180
180
  let ``Second Thursday of October 2013`` () =
181
- meetup 2013 10 DayOfWeek.Thursday Schedule.Second |> should equal (DateTime(2013, 10, 10))
181
+ meetup 2013 10 Week.Second DayOfWeek.Thursday |> should equal (DateTime(2013, 10, 10))
182
182
 
183
183
  [<Fact(Skip = "Remove to run test")>]
184
184
  let ``Second Friday of November 2013`` () =
185
- meetup 2013 11 DayOfWeek.Friday Schedule.Second |> should equal (DateTime(2013, 11, 8))
185
+ meetup 2013 11 Week.Second DayOfWeek.Friday |> should equal (DateTime(2013, 11, 8))
186
186
 
187
187
  [<Fact(Skip = "Remove to run test")>]
188
188
  let ``Second Friday of December 2013`` () =
189
- meetup 2013 12 DayOfWeek.Friday Schedule.Second |> should equal (DateTime(2013, 12, 13))
189
+ meetup 2013 12 Week.Second DayOfWeek.Friday |> should equal (DateTime(2013, 12, 13))
190
190
 
191
191
  [<Fact(Skip = "Remove to run test")>]
192
192
  let ``Second Saturday of January 2013`` () =
193
- meetup 2013 1 DayOfWeek.Saturday Schedule.Second |> should equal (DateTime(2013, 1, 12))
193
+ meetup 2013 1 Week.Second DayOfWeek.Saturday |> should equal (DateTime(2013, 1, 12))
194
194
 
195
195
  [<Fact(Skip = "Remove to run test")>]
196
196
  let ``Second Saturday of February 2013`` () =
197
- meetup 2013 2 DayOfWeek.Saturday Schedule.Second |> should equal (DateTime(2013, 2, 9))
197
+ meetup 2013 2 Week.Second DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 9))
198
198
 
199
199
  [<Fact(Skip = "Remove to run test")>]
200
200
  let ``Second Sunday of March 2013`` () =
201
- meetup 2013 3 DayOfWeek.Sunday Schedule.Second |> should equal (DateTime(2013, 3, 10))
201
+ meetup 2013 3 Week.Second DayOfWeek.Sunday |> should equal (DateTime(2013, 3, 10))
202
202
 
203
203
  [<Fact(Skip = "Remove to run test")>]
204
204
  let ``Second Sunday of April 2013`` () =
205
- meetup 2013 4 DayOfWeek.Sunday Schedule.Second |> should equal (DateTime(2013, 4, 14))
205
+ meetup 2013 4 Week.Second DayOfWeek.Sunday |> should equal (DateTime(2013, 4, 14))
206
206
 
207
207
  [<Fact(Skip = "Remove to run test")>]
208
208
  let ``Third Monday of March 2013`` () =
209
- meetup 2013 3 DayOfWeek.Monday Schedule.Third |> should equal (DateTime(2013, 3, 18))
209
+ meetup 2013 3 Week.Third DayOfWeek.Monday |> should equal (DateTime(2013, 3, 18))
210
210
 
211
211
  [<Fact(Skip = "Remove to run test")>]
212
212
  let ``Third Monday of April 2013`` () =
213
- meetup 2013 4 DayOfWeek.Monday Schedule.Third |> should equal (DateTime(2013, 4, 15))
213
+ meetup 2013 4 Week.Third DayOfWeek.Monday |> should equal (DateTime(2013, 4, 15))
214
214
 
215
215
  [<Fact(Skip = "Remove to run test")>]
216
216
  let ``Third Tuesday of May 2013`` () =
217
- meetup 2013 5 DayOfWeek.Tuesday Schedule.Third |> should equal (DateTime(2013, 5, 21))
217
+ meetup 2013 5 Week.Third DayOfWeek.Tuesday |> should equal (DateTime(2013, 5, 21))
218
218
 
219
219
  [<Fact(Skip = "Remove to run test")>]
220
220
  let ``Third Tuesday of June 2013`` () =
221
- meetup 2013 6 DayOfWeek.Tuesday Schedule.Third |> should equal (DateTime(2013, 6, 18))
221
+ meetup 2013 6 Week.Third DayOfWeek.Tuesday |> should equal (DateTime(2013, 6, 18))
222
222
 
223
223
  [<Fact(Skip = "Remove to run test")>]
224
224
  let ``Third Wednesday of July 2013`` () =
225
- meetup 2013 7 DayOfWeek.Wednesday Schedule.Third |> should equal (DateTime(2013, 7, 17))
225
+ meetup 2013 7 Week.Third DayOfWeek.Wednesday |> should equal (DateTime(2013, 7, 17))
226
226
 
227
227
  [<Fact(Skip = "Remove to run test")>]
228
228
  let ``Third Wednesday of August 2013`` () =
229
- meetup 2013 8 DayOfWeek.Wednesday Schedule.Third |> should equal (DateTime(2013, 8, 21))
229
+ meetup 2013 8 Week.Third DayOfWeek.Wednesday |> should equal (DateTime(2013, 8, 21))
230
230
 
231
231
  [<Fact(Skip = "Remove to run test")>]
232
232
  let ``Third Thursday of September 2013`` () =
233
- meetup 2013 9 DayOfWeek.Thursday Schedule.Third |> should equal (DateTime(2013, 9, 19))
233
+ meetup 2013 9 Week.Third DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 19))
234
234
 
235
235
  [<Fact(Skip = "Remove to run test")>]
236
236
  let ``Third Thursday of October 2013`` () =
237
- meetup 2013 10 DayOfWeek.Thursday Schedule.Third |> should equal (DateTime(2013, 10, 17))
237
+ meetup 2013 10 Week.Third DayOfWeek.Thursday |> should equal (DateTime(2013, 10, 17))
238
238
 
239
239
  [<Fact(Skip = "Remove to run test")>]
240
240
  let ``Third Friday of November 2013`` () =
241
- meetup 2013 11 DayOfWeek.Friday Schedule.Third |> should equal (DateTime(2013, 11, 15))
241
+ meetup 2013 11 Week.Third DayOfWeek.Friday |> should equal (DateTime(2013, 11, 15))
242
242
 
243
243
  [<Fact(Skip = "Remove to run test")>]
244
244
  let ``Third Friday of December 2013`` () =
245
- meetup 2013 12 DayOfWeek.Friday Schedule.Third |> should equal (DateTime(2013, 12, 20))
245
+ meetup 2013 12 Week.Third DayOfWeek.Friday |> should equal (DateTime(2013, 12, 20))
246
246
 
247
247
  [<Fact(Skip = "Remove to run test")>]
248
248
  let ``Third Saturday of January 2013`` () =
249
- meetup 2013 1 DayOfWeek.Saturday Schedule.Third |> should equal (DateTime(2013, 1, 19))
249
+ meetup 2013 1 Week.Third DayOfWeek.Saturday |> should equal (DateTime(2013, 1, 19))
250
250
 
251
251
  [<Fact(Skip = "Remove to run test")>]
252
252
  let ``Third Saturday of February 2013`` () =
253
- meetup 2013 2 DayOfWeek.Saturday Schedule.Third |> should equal (DateTime(2013, 2, 16))
253
+ meetup 2013 2 Week.Third DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 16))
254
254
 
255
255
  [<Fact(Skip = "Remove to run test")>]
256
256
  let ``Third Sunday of March 2013`` () =
257
- meetup 2013 3 DayOfWeek.Sunday Schedule.Third |> should equal (DateTime(2013, 3, 17))
257
+ meetup 2013 3 Week.Third DayOfWeek.Sunday |> should equal (DateTime(2013, 3, 17))
258
258
 
259
259
  [<Fact(Skip = "Remove to run test")>]
260
260
  let ``Third Sunday of April 2013`` () =
261
- meetup 2013 4 DayOfWeek.Sunday Schedule.Third |> should equal (DateTime(2013, 4, 21))
261
+ meetup 2013 4 Week.Third DayOfWeek.Sunday |> should equal (DateTime(2013, 4, 21))
262
262
 
263
263
  [<Fact(Skip = "Remove to run test")>]
264
264
  let ``Fourth Monday of March 2013`` () =
265
- meetup 2013 3 DayOfWeek.Monday Schedule.Fourth |> should equal (DateTime(2013, 3, 25))
265
+ meetup 2013 3 Week.Fourth DayOfWeek.Monday |> should equal (DateTime(2013, 3, 25))
266
266
 
267
267
  [<Fact(Skip = "Remove to run test")>]
268
268
  let ``Fourth Monday of April 2013`` () =
269
- meetup 2013 4 DayOfWeek.Monday Schedule.Fourth |> should equal (DateTime(2013, 4, 22))
269
+ meetup 2013 4 Week.Fourth DayOfWeek.Monday |> should equal (DateTime(2013, 4, 22))
270
270
 
271
271
  [<Fact(Skip = "Remove to run test")>]
272
272
  let ``Fourth Tuesday of May 2013`` () =
273
- meetup 2013 5 DayOfWeek.Tuesday Schedule.Fourth |> should equal (DateTime(2013, 5, 28))
273
+ meetup 2013 5 Week.Fourth DayOfWeek.Tuesday |> should equal (DateTime(2013, 5, 28))
274
274
 
275
275
  [<Fact(Skip = "Remove to run test")>]
276
276
  let ``Fourth Tuesday of June 2013`` () =
277
- meetup 2013 6 DayOfWeek.Tuesday Schedule.Fourth |> should equal (DateTime(2013, 6, 25))
277
+ meetup 2013 6 Week.Fourth DayOfWeek.Tuesday |> should equal (DateTime(2013, 6, 25))
278
278
 
279
279
  [<Fact(Skip = "Remove to run test")>]
280
280
  let ``Fourth Wednesday of July 2013`` () =
281
- meetup 2013 7 DayOfWeek.Wednesday Schedule.Fourth |> should equal (DateTime(2013, 7, 24))
281
+ meetup 2013 7 Week.Fourth DayOfWeek.Wednesday |> should equal (DateTime(2013, 7, 24))
282
282
 
283
283
  [<Fact(Skip = "Remove to run test")>]
284
284
  let ``Fourth Wednesday of August 2013`` () =
285
- meetup 2013 8 DayOfWeek.Wednesday Schedule.Fourth |> should equal (DateTime(2013, 8, 28))
285
+ meetup 2013 8 Week.Fourth DayOfWeek.Wednesday |> should equal (DateTime(2013, 8, 28))
286
286
 
287
287
  [<Fact(Skip = "Remove to run test")>]
288
288
  let ``Fourth Thursday of September 2013`` () =
289
- meetup 2013 9 DayOfWeek.Thursday Schedule.Fourth |> should equal (DateTime(2013, 9, 26))
289
+ meetup 2013 9 Week.Fourth DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 26))
290
290
 
291
291
  [<Fact(Skip = "Remove to run test")>]
292
292
  let ``Fourth Thursday of October 2013`` () =
293
- meetup 2013 10 DayOfWeek.Thursday Schedule.Fourth |> should equal (DateTime(2013, 10, 24))
293
+ meetup 2013 10 Week.Fourth DayOfWeek.Thursday |> should equal (DateTime(2013, 10, 24))
294
294
 
295
295
  [<Fact(Skip = "Remove to run test")>]
296
296
  let ``Fourth Friday of November 2013`` () =
297
- meetup 2013 11 DayOfWeek.Friday Schedule.Fourth |> should equal (DateTime(2013, 11, 22))
297
+ meetup 2013 11 Week.Fourth DayOfWeek.Friday |> should equal (DateTime(2013, 11, 22))
298
298
 
299
299
  [<Fact(Skip = "Remove to run test")>]
300
300
  let ``Fourth Friday of December 2013`` () =
301
- meetup 2013 12 DayOfWeek.Friday Schedule.Fourth |> should equal (DateTime(2013, 12, 27))
301
+ meetup 2013 12 Week.Fourth DayOfWeek.Friday |> should equal (DateTime(2013, 12, 27))
302
302
 
303
303
  [<Fact(Skip = "Remove to run test")>]
304
304
  let ``Fourth Saturday of January 2013`` () =
305
- meetup 2013 1 DayOfWeek.Saturday Schedule.Fourth |> should equal (DateTime(2013, 1, 26))
305
+ meetup 2013 1 Week.Fourth DayOfWeek.Saturday |> should equal (DateTime(2013, 1, 26))
306
306
 
307
307
  [<Fact(Skip = "Remove to run test")>]
308
308
  let ``Fourth Saturday of February 2013`` () =
309
- meetup 2013 2 DayOfWeek.Saturday Schedule.Fourth |> should equal (DateTime(2013, 2, 23))
309
+ meetup 2013 2 Week.Fourth DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 23))
310
310
 
311
311
  [<Fact(Skip = "Remove to run test")>]
312
312
  let ``Fourth Sunday of March 2013`` () =
313
- meetup 2013 3 DayOfWeek.Sunday Schedule.Fourth |> should equal (DateTime(2013, 3, 24))
313
+ meetup 2013 3 Week.Fourth DayOfWeek.Sunday |> should equal (DateTime(2013, 3, 24))
314
314
 
315
315
  [<Fact(Skip = "Remove to run test")>]
316
316
  let ``Fourth Sunday of April 2013`` () =
317
- meetup 2013 4 DayOfWeek.Sunday Schedule.Fourth |> should equal (DateTime(2013, 4, 28))
317
+ meetup 2013 4 Week.Fourth DayOfWeek.Sunday |> should equal (DateTime(2013, 4, 28))
318
318
 
319
319
  [<Fact(Skip = "Remove to run test")>]
320
320
  let ``Last Monday of March 2013`` () =
321
- meetup 2013 3 DayOfWeek.Monday Schedule.Last |> should equal (DateTime(2013, 3, 25))
321
+ meetup 2013 3 Week.Last DayOfWeek.Monday |> should equal (DateTime(2013, 3, 25))
322
322
 
323
323
  [<Fact(Skip = "Remove to run test")>]
324
324
  let ``Last Monday of April 2013`` () =
325
- meetup 2013 4 DayOfWeek.Monday Schedule.Last |> should equal (DateTime(2013, 4, 29))
325
+ meetup 2013 4 Week.Last DayOfWeek.Monday |> should equal (DateTime(2013, 4, 29))
326
326
 
327
327
  [<Fact(Skip = "Remove to run test")>]
328
328
  let ``Last Tuesday of May 2013`` () =
329
- meetup 2013 5 DayOfWeek.Tuesday Schedule.Last |> should equal (DateTime(2013, 5, 28))
329
+ meetup 2013 5 Week.Last DayOfWeek.Tuesday |> should equal (DateTime(2013, 5, 28))
330
330
 
331
331
  [<Fact(Skip = "Remove to run test")>]
332
332
  let ``Last Tuesday of June 2013`` () =
333
- meetup 2013 6 DayOfWeek.Tuesday Schedule.Last |> should equal (DateTime(2013, 6, 25))
333
+ meetup 2013 6 Week.Last DayOfWeek.Tuesday |> should equal (DateTime(2013, 6, 25))
334
334
 
335
335
  [<Fact(Skip = "Remove to run test")>]
336
336
  let ``Last Wednesday of July 2013`` () =
337
- meetup 2013 7 DayOfWeek.Wednesday Schedule.Last |> should equal (DateTime(2013, 7, 31))
337
+ meetup 2013 7 Week.Last DayOfWeek.Wednesday |> should equal (DateTime(2013, 7, 31))
338
338
 
339
339
  [<Fact(Skip = "Remove to run test")>]
340
340
  let ``Last Wednesday of August 2013`` () =
341
- meetup 2013 8 DayOfWeek.Wednesday Schedule.Last |> should equal (DateTime(2013, 8, 28))
341
+ meetup 2013 8 Week.Last DayOfWeek.Wednesday |> should equal (DateTime(2013, 8, 28))
342
342
 
343
343
  [<Fact(Skip = "Remove to run test")>]
344
344
  let ``Last Thursday of September 2013`` () =
345
- meetup 2013 9 DayOfWeek.Thursday Schedule.Last |> should equal (DateTime(2013, 9, 26))
345
+ meetup 2013 9 Week.Last DayOfWeek.Thursday |> should equal (DateTime(2013, 9, 26))
346
346
 
347
347
  [<Fact(Skip = "Remove to run test")>]
348
348
  let ``Last Thursday of October 2013`` () =
349
- meetup 2013 10 DayOfWeek.Thursday Schedule.Last |> should equal (DateTime(2013, 10, 31))
349
+ meetup 2013 10 Week.Last DayOfWeek.Thursday |> should equal (DateTime(2013, 10, 31))
350
350
 
351
351
  [<Fact(Skip = "Remove to run test")>]
352
352
  let ``Last Friday of November 2013`` () =
353
- meetup 2013 11 DayOfWeek.Friday Schedule.Last |> should equal (DateTime(2013, 11, 29))
353
+ meetup 2013 11 Week.Last DayOfWeek.Friday |> should equal (DateTime(2013, 11, 29))
354
354
 
355
355
  [<Fact(Skip = "Remove to run test")>]
356
356
  let ``Last Friday of December 2013`` () =
357
- meetup 2013 12 DayOfWeek.Friday Schedule.Last |> should equal (DateTime(2013, 12, 27))
357
+ meetup 2013 12 Week.Last DayOfWeek.Friday |> should equal (DateTime(2013, 12, 27))
358
358
 
359
359
  [<Fact(Skip = "Remove to run test")>]
360
360
  let ``Last Saturday of January 2013`` () =
361
- meetup 2013 1 DayOfWeek.Saturday Schedule.Last |> should equal (DateTime(2013, 1, 26))
361
+ meetup 2013 1 Week.Last DayOfWeek.Saturday |> should equal (DateTime(2013, 1, 26))
362
362
 
363
363
  [<Fact(Skip = "Remove to run test")>]
364
364
  let ``Last Saturday of February 2013`` () =
365
- meetup 2013 2 DayOfWeek.Saturday Schedule.Last |> should equal (DateTime(2013, 2, 23))
365
+ meetup 2013 2 Week.Last DayOfWeek.Saturday |> should equal (DateTime(2013, 2, 23))
366
366
 
367
367
  [<Fact(Skip = "Remove to run test")>]
368
368
  let ``Last Sunday of March 2013`` () =
369
- meetup 2013 3 DayOfWeek.Sunday Schedule.Last |> should equal (DateTime(2013, 3, 31))
369
+ meetup 2013 3 Week.Last DayOfWeek.Sunday |> should equal (DateTime(2013, 3, 31))
370
370
 
371
371
  [<Fact(Skip = "Remove to run test")>]
372
372
  let ``Last Sunday of April 2013`` () =
373
- meetup 2013 4 DayOfWeek.Sunday Schedule.Last |> should equal (DateTime(2013, 4, 28))
373
+ meetup 2013 4 Week.Last DayOfWeek.Sunday |> should equal (DateTime(2013, 4, 28))
374
374
 
375
375
  [<Fact(Skip = "Remove to run test")>]
376
376
  let ``Last Wednesday of February 2012`` () =
377
- meetup 2012 2 DayOfWeek.Wednesday Schedule.Last |> should equal (DateTime(2012, 2, 29))
377
+ meetup 2012 2 Week.Last DayOfWeek.Wednesday |> should equal (DateTime(2012, 2, 29))
378
378
 
379
379
  [<Fact(Skip = "Remove to run test")>]
380
380
  let ``Last Wednesday of December 2014`` () =
381
- meetup 2014 12 DayOfWeek.Wednesday Schedule.Last |> should equal (DateTime(2014, 12, 31))
381
+ meetup 2014 12 Week.Last DayOfWeek.Wednesday |> should equal (DateTime(2014, 12, 31))
382
382
 
383
383
  [<Fact(Skip = "Remove to run test")>]
384
384
  let ``Last Sunday of February 2015`` () =
385
- meetup 2015 2 DayOfWeek.Sunday Schedule.Last |> should equal (DateTime(2015, 2, 22))
385
+ meetup 2015 2 Week.Last DayOfWeek.Sunday |> should equal (DateTime(2015, 2, 22))
386
386
 
387
387
  [<Fact(Skip = "Remove to run test")>]
388
388
  let ``First Friday of December 2012`` () =
389
- meetup 2012 12 DayOfWeek.Friday Schedule.First |> should equal (DateTime(2012, 12, 7))
389
+ meetup 2012 12 Week.First DayOfWeek.Friday |> should equal (DateTime(2012, 12, 7))
390
390