Created
May 14, 2017 20:50
-
-
Save viters/92fb2077a928e98f82ae29684f0e54bf to your computer and use it in GitHub Desktop.
A simple way to test code in haskell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests = [ | |
(TestCondition :: Bool, "TestDescription" :: String) | |
] | |
main :: IO() | |
main = | |
mapM_ (putStrLn . snd) (filter (\(x,_) -> x == False) tests) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment