Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions exercises/matrix/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,3 @@ specs = do

it "flatten" $
flatten (intMatrix "1 2\n3 4") `shouldBe` vector [1, 2, 3, 4]

it "matrix of chars" $
fromString "'f' 'o' 'o'\n'b' 'a' 'r'" `shouldBe` fromList ["foo", "bar"]

it "matrix of strings" $
fromString "\"this one\"\n\"may be tricky!\""
`shouldBe` fromList [ ["this one" ]
, ["may be tricky!"] ]

it "matrix of strings 2" $
fromString "\"this one\" \"one\" \n\"may be tricky!\" \"really tricky\""
`shouldBe` fromList [ ["this one" , "one" ]
, ["may be tricky!", "really tricky"] ]