diff options
Diffstat (limited to 'test/files/scalacheck/array.scala')
-rw-r--r-- | test/files/scalacheck/array.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/scalacheck/array.scala b/test/files/scalacheck/array.scala index 0b7dee5716..2febca4447 100644 --- a/test/files/scalacheck/array.scala +++ b/test/files/scalacheck/array.scala @@ -15,6 +15,7 @@ object Test extends Properties("Array") { arbArray[AnyVal](arbAnyVal) ) map (_.arbitrary) + // inspired by #1857 and #2352 property("eq/ne") = forAll(oneOf(myGens: _*)) { c1 => forAll(oneOf(myGens: _*)) { c2 => @@ -23,6 +24,7 @@ object Test extends Properties("Array") { } def smallInt = choose(1, 10) + // inspired by #2299 property("ofDim") = forAll(smallInt) { i1 => forAll(smallInt) { i2 => forAll(smallInt) { i3 => |