Skip to content

Commit

Permalink
binary-search-tree 1.0.0.3: Add toList of equal element (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
petertseng authored Jan 5, 2018
1 parent c04564c commit ca07a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/binary-search-tree/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: binary-search-tree
version: 0.1.0.2
version: 1.0.0.3

dependencies:
- base
Expand Down
3 changes: 3 additions & 0 deletions exercises/binary-search-tree/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ specs = do
it "iterating over smaller element" $
toList (fromList [int4, 2]) `shouldBe` [2, 4]

it "iterating over equal element" $
toList (fromList [int4, 4]) `shouldBe` [4, 4]

it "iterating over larger element" $
toList (fromList [int4, 5]) `shouldBe` [4, 5]

Expand Down

0 comments on commit ca07a7a

Please sign in to comment.