feat[test]: run the tests
This commit is contained in:
parent
60762c3493
commit
6821c4efda
2 changed files with 9 additions and 1 deletions
|
@ -1,2 +1,8 @@
|
|||
import System.IO (IO)
|
||||
import Test.Data.Map.Implicit qualified
|
||||
import Control.Applicative (pure)
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "Test suite not yet implemented"
|
||||
main = do
|
||||
_ <- Test.Data.Map.Implicit.runTests
|
||||
pure ()
|
||||
|
|
|
@ -13,6 +13,8 @@ import System.IO (IO)
|
|||
import Control.Applicative (pure)
|
||||
import Data.Maybe (Maybe)
|
||||
|
||||
-- | This is testworthy since I have somehow hand-hacked the read/show de/serialization of 'ImplicitMap'
|
||||
|
||||
prop_readShowIdentityRoundtrip :: ImplicitMap (Definition Identity) -> Bool
|
||||
prop_readShowIdentityRoundtrip = roundtrips read show
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue