summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/parallel-collections/IntValues.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-10-04 14:05:35 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-10-04 14:05:35 +0000
commite0372eddc160678010c2b45be84a04af81ff63e5 (patch)
tree31e038214ab23033d44f9202ae3525552be6541e /test/files/scalacheck/parallel-collections/IntValues.scala
parent9e21fe6c690e31f2e3fe079e386f4d440935c09e (diff)
downloadscala-e0372eddc160678010c2b45be84a04af81ff63e5.tar.gz
scala-e0372eddc160678010c2b45be84a04af81ff63e5.tar.bz2
scala-e0372eddc160678010c2b45be84a04af81ff63e5.zip
Fixed a scalacheck test group "test entire subd...
Fixed a scalacheck test group "test entire subdirectory" problem. It's now possible to add scalacheck tests consisting of multiple files. No review.
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)
+ )
+}