Published 10 months ago
by
Vio

import spock.lang.* class SumSpec extends Specification { def "adding two numbers"(){ given: "the integers four and six" int a = 4 int b = 6 when: "they are dded" int res = a+b then: "the result is ten" res == 10 } }