(list: List[(Int, Int, Int)]).foldLeft("a" | "b" | "a+b" |>) { case (res, (a, b, c)) => res | a ! b ! c } | { (a, b, c) => a+b === c }
@etorreborre Thanks for the quick response! another question while im at it - from reading the specs2 guide in understand that examples run in parallel. if I generate examples during runtime as such :
class MySpec extends mutable.Specification {
"this example has a lot of expectations" >> {
Result.foreach(1 to 1000) { i =>
i must_== i
}
}
}
will they run in parallel too?