summaryrefslogtreecommitdiff
path: root/test/disabled/scalacheck
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-05-09 03:53:41 +0000
committerPaul Phillips <paulp@improving.org>2009-05-09 03:53:41 +0000
commit2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2 (patch)
tree9bb2044c595fe260c352a00cf98bb2ecece50437 /test/disabled/scalacheck
parentf7ab13b08e085c3bf94d857fc9648ee724e4cb08 (diff)
downloadscala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.tar.gz
scala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.tar.bz2
scala-2ea3b94ee2519e01a3e1658909afeb33e7e9ebe2.zip
Organized disabled directory so it works with p...
Organized disabled directory so it works with partest. You can run ./partest --srcpath disabled to run the tests in that location. Fixed a few tests in disabled and pending and moved to files.
Diffstat (limited to 'test/disabled/scalacheck')
-rw-r--r--test/disabled/scalacheck/list.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/disabled/scalacheck/list.scala b/test/disabled/scalacheck/list.scala
new file mode 100644
index 0000000000..93d3a59458
--- /dev/null
+++ b/test/disabled/scalacheck/list.scala
@@ -0,0 +1,10 @@
+import org.scalacheck._
+import Prop._
+
+object Test {
+ val prop_ConcatLists =
+ property((l1: List[Int], l2: List[Int]) => (l1.size + l2.size) == (l1 ::: l2).size)
+
+ val tests = List(("ConcatLists", prop_ConcatLists))
+}
+