比如这样:
class MySpec extends Specification with ScalaCheck { def is = s2"""
MyThing should
do something the right way $x1
"""
def x1 = prop(4 /*times*/) { (...) =>
...
}
}
}
比如这样:
class MySpec extends Specification with ScalaCheck { def is = s2"""
MyThing should
do something the right way $x1
"""
def x1 = prop(4 /*times*/) { (...) =>
...
}
}
}