1module Test.Set (tests) where
7import ElmTest.Assertion (..)
8import ElmTest.Test (..)
11set = Set.fromList [1..100]
14setPart1 = Set.fromList [1..50]
17setPart2 = Set.fromList [51..100]
25 filterTests = suite "filter Tests" [test "Simple filter" <| assertEqual setPart1 <| Set.filter pred set]
26 partitionTests = suite "partition Tests" [test "Simple partition" <| assertEqual (setPart1, setPart2) <| Set.partition pred set]
27 in suite "Set Tests" [partitionTests, filterTests]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list