Skip to content

Commit

Permalink
grade school tests (#1255)
Browse files Browse the repository at this point in the history
* darts: sync tests

* diffie-hellman: sync tests

* grains: sync tests

* roman-numerals: sync tests

* poker: sync tests

* grade-school: sync tests
  • Loading branch information
ErikSchierboom authored Apr 23, 2024
1 parent 819a20b commit 62ed279
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 0 additions & 12 deletions exercises/practice/grade-school/GradeSchoolTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,3 @@ let ``Students are sorted by name in a grade`` () =
|> add "Jeff" 1
grade 5 school |> should equal ["Bradley"; "Franklin"]

[<Fact(Skip = "Remove this Skip property to run this test")>]
let ``Students are sorted by grades and then by name in the roster even when school was not sorted``() =
let school =
seq {
1, [ "Anna"; "Charlie"; "Barb" ]
2, [ "Peter"; "Zoe"; "Alex" ]
3, [ "Jim" ]
}
|> Map.ofSeq
roster school
|> should equal [ "Anna"; "Barb"; "Charlie"; "Alex"; "Peter"; "Zoe"; "Jim" ]

1 change: 1 addition & 0 deletions generators/Generators.fs
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ type GradeSchool() =

override _.PropertiesUsedAsSutParameter testCase =
base.PropertiesUsedAsSutParameter testCase |> List.filter (fun x -> x <> "students")

type Grains() =
inherit ExerciseGenerator()

Expand Down

0 comments on commit 62ed279

Please sign in to comment.