Spock Web Console

subscribe to the feed Subscribe
Untitled (via #spockwebconsole)
tweet this script Tweet

Untitled

Published 2 years ago by Anonymous
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

// Hit 'Run Script' below
class MyFirstSpec extends Specification {
  def "let's try this!"() {
    expect:
    Math.max(1, a + b) == 3

    where:
    a | b
    4 | 5
    6 | 9
  }
}