summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h
AgeCommit message (Collapse)Author
2009-01-19Compatibility with QuickCheck 2 as well as QuickCheck 1Daniel Schüssler
Used the C preprocessor to make it compile against either QuickCheck version. Added some implementations for the new "shrink" method of class Arbitrary. The tests (runTests 10) succeed when compiled with QC 1. With QC 2 (runTests 10 too) the fourth "vector operations" test (complex trigonometry) now fails. I don't know whether this is a bug in my changes, or whether QC 2 just generates Doubles differently and thus uncovered a real bug.