-
下面的 JS 里变量声明是啥意思。。
2018-04-14 11:43Groovy 编程语言了解一下😄
Spock 测试框架了解一下😄class DataDriven extends Specification { def "maximum of two numbers"() { expect: Math.max(a, b) == c where: a | b || c 3 | 5 || 5 7 | 0 || 7 0 | 0 || 0 } }
Groovy 编程语言了解一下😄
Spock 测试框架了解一下😄
class DataDriven extends Specification {
def "maximum of two numbers"() {
expect:
Math.max(a, b) == c
where:
a | b || c
3 | 5 || 5
7 | 0 || 7
0 | 0 || 0
}
}