feat[test]: run the tests

This commit is contained in:
vegowotenks 2025-08-14 09:22:14 +02:00
parent 60762c3493
commit 6821c4efda
2 changed files with 9 additions and 1 deletions

View file

@ -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 ()

View file

@ -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