summaryrefslogtreecommitdiff
path: root/packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2015-04-15 09:53:26 +0200
committerAlberto Ruiz <aruiz@um.es>2015-04-15 09:53:26 +0200
commit6ecaa30249548c44199ddbc3cce6f8228b17be5b (patch)
tree9dfc39f50c2f2c8c6f08569a933d3198813cb8b8 /packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs
parent27dceac51cbd904e06891e583d4b445e691efc8c (diff)
simplify tests
Diffstat (limited to 'packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs')
-rw-r--r--packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs b/packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs
index 941f747..e2492dd 100644
--- a/packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs
+++ b/packages/tests/src/Numeric/LinearAlgebra/Tests/Properties.hs
@@ -1,5 +1,4 @@
1{-# LANGUAGE CPP, FlexibleContexts #-} 1{-# LANGUAGE FlexibleContexts #-}
2{-# OPTIONS_GHC -fno-warn-unused-imports #-}
3{-# LANGUAGE TypeFamilies #-} 2{-# LANGUAGE TypeFamilies #-}
4 3
5----------------------------------------------------------------------------- 4-----------------------------------------------------------------------------
@@ -44,10 +43,7 @@ module Numeric.LinearAlgebra.Tests.Properties (
44) where 43) where
45 44
46import Numeric.LinearAlgebra.HMatrix hiding (Testable)--hiding (real,complex) 45import Numeric.LinearAlgebra.HMatrix hiding (Testable)--hiding (real,complex)
47import Debug.Trace 46import Test.QuickCheck
48import Test.QuickCheck(Arbitrary,arbitrary,coarbitrary,choose,vector
49 ,sized,classify,Testable,Property
50 ,quickCheckWith,maxSize,stdArgs,shrink)
51 47
52trivial :: Testable a => Bool -> a -> Property 48trivial :: Testable a => Bool -> a -> Property
53trivial = (`classify` "trivial") 49trivial = (`classify` "trivial")