summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/parallel-collections/IntValues.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/scalacheck/parallel-collections/IntValues.scala')
-rw-r--r--test/files/scalacheck/parallel-collections/IntValues.scala26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/files/scalacheck/parallel-collections/IntValues.scala b/test/files/scalacheck/parallel-collections/IntValues.scala
new file mode 100644
index 0000000000..b9263a2bbc
--- /dev/null
+++ b/test/files/scalacheck/parallel-collections/IntValues.scala
@@ -0,0 +1,26 @@
+package scala.collection.parallel.ops
+
+
+
+
+
+import org.scalacheck._
+import org.scalacheck.Gen
+import org.scalacheck.Gen._
+import org.scalacheck.Prop._
+import org.scalacheck.Properties
+import org.scalacheck.Arbitrary._
+
+
+
+
+trait IntValues {
+ def values = Seq(
+ arbitrary[Int],
+ arbitrary[Int] suchThat (_ >= 0),
+ arbitrary[Int] suchThat (_ < 0),
+ choose(0, 0),
+ choose(0, 10),
+ choose(0, 100)
+ )
+}