Created
September 19, 2017 15:06
-
-
Save paulp/980b7240b57275d29428abb33348b783 to your computer and use it in GitHub Desktop.
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
describe("addition") { | |
it("is communicative") { | |
forAll { (x: Int, y: Int) => | |
(x + y) should equal (y + x) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment