when: "I divide a number by another" | |
def result = controller.divide firstNumber, secondNumber | |
then: "I should get the correct value" | |
result == expectedResult | |
where: "The values are as following" | |
firstNumber | secondNumber | expectedResult | |
10 | 5 | 2 | |
36 | 6 | 6 | |
-10 | -1 | 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment