You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
254 B
Groovy
12 lines
254 B
Groovy
11 years ago
|
class HelloSpock extends Specification {
|
||
|
def "length of Spock's and his friends' names"() {
|
||
|
expect:
|
||
|
name.size() == length
|
||
|
|
||
|
where:
|
||
|
name | length
|
||
|
"Spock" | 5
|
||
|
"Kirk" | 4
|
||
|
"Scotty" | 6
|
||
|
}
|
||
|
}
|