Assume $PWD
is this directory.
> cabal sandbox init > cabal install --only-dependencies
> cabal build cogent-quickcheck-utils
WordArray
examplecd wa_example; make; cd ../
which generates the C code and binary files.
cabal build wa-example --ghc-options=" wa_example/build/wa.o"
cabal repl wa-example --ghc-options=" wa_example/build/wa.o"
which gives you a ghc REPL.
Inside the REPL, $ GHCi > main
which runs all the tests.
For individual ones, $ GHCi > quickCheck prop_corres_
and you can try to autocomplete the function names by tabbing the Tab key twice.
readpage
exampleAssume you have cabal-built wa-example
as described above.
cabal build readpage-example
cabal repl readpage-example
which gives you a ghc REPL.
Inside the REPL, $ GHCi > Readpage.main
which runs the test using a default configuration.
If you want to run the test manually, then the property you are after is called prop_corres_fsop_readpage
.