diff options
Diffstat (limited to 'test/files/scalacheck')
-rw-r--r-- | test/files/scalacheck/list.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/scalacheck/list.scala b/test/files/scalacheck/list.scala new file mode 100644 index 0000000000..93d3a59458 --- /dev/null +++ b/test/files/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)) +} + |