summaryrefslogtreecommitdiff
path: root/tests/Tests/Correlation.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tests/Correlation.hs')
-rw-r--r--tests/Tests/Correlation.hs9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/Tests/Correlation.hs b/tests/Tests/Correlation.hs
index 0e50278..7563583 100644
--- a/tests/Tests/Correlation.hs
+++ b/tests/Tests/Correlation.hs
@@ -8,10 +8,9 @@ import qualified Data.Vector as V
import Statistics.Correlation
import Statistics.Correlation.Kendall
import Test.QuickCheck ((==>),Property,counterexample)
-import Test.Framework
-import Test.Framework.Providers.QuickCheck2
-import Test.Framework.Providers.HUnit
-import Test.HUnit (Assertion, (@=?))
+import Test.Tasty
+import Test.Tasty.QuickCheck
+import Test.Tasty.HUnit
import Tests.ApproxEq
@@ -19,7 +18,7 @@ import Tests.ApproxEq
-- Tests list
----------------------------------------------------------------
-tests :: Test
+tests :: TestTree
tests = testGroup "Correlation"
[ testProperty "Pearson correlation" testPearson
, testProperty "Spearman correlation is scale invariant" testSpearmanScale