Skip to content

Instantly share code, notes, and snippets.

@mario-rezende-ifood
Last active November 21, 2019 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mario-rezende-ifood/4eaba139ed28d600fb110d77e22483cb to your computer and use it in GitHub Desktop.
Save mario-rezende-ifood/4eaba139ed28d600fb110d77e22483cb to your computer and use it in GitHub Desktop.
def 'Maximum of two numbers'() {
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