Last active
May 26, 2016 14:26
-
-
Save rogeriochaves/3267bcf56c2449be1f21 to your computer and use it in GitHub Desktop.
This file contains 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
module Example where | |
import ElmTestBDDStyle exposing (..) | |
import Check.Producer exposing (..) | |
tests : Test | |
tests = | |
describe "A Test Suite" | |
[ it "adds two numbers" <| | |
expect (3 + 7) toBe 10 | |
, it "fails for non-sense stuff" <| | |
expect True toBe False | |
, itAlways "ends up with the same list when reversing twice" <| | |
expectThat | |
(\list -> List.reverse (List.reverse list)) | |
isTheSameAs | |
(identity) | |
forEvery | |
(list int) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment