Skip to content
Snippets Groups Projects
Commit f2098a97 authored by Mirco Dotta's avatar Mirco Dotta
Browse files

Very basic test that shows that FunCheck ForAll transformation works.

parent 61b68c63
No related branches found
No related tags found
No related merge requests found
import funcheck.lib.Specs
object HeapTest extends Application {
//works
Specs.forAll[(Int,Int)]( p => p._1 + p._2 == p._2 + p._1)
//fails!
Specs.forAll[Int]( p => p == 0)
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment