Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import spock.lang.*
  2.  
  3. class MathSpec extends Specification {
  4. def "should calculate the maximum of two numbers"() {
  5. expect:
  6. Math.max(1, 3) == 3
  7. Math.max(7, 4) == 7
  8. Math.max(0, 0) == 0
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement