Last active
January 31, 2016 11:11
-
-
Save xala3pa/9e001ada00c7b5c9925f 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
class Math extends Specification { | |
def "maximum of two numbers"(int a, int b, int c) { | |
expect: | |
Math.max(a, b) == c | |
where: | |
a | b | c | |
1 | 3 | 3 | |
7 | 4 | 4 | |
0 | 0 | 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment