aaf88dd79064d666ed9a42193d4d2b33c1bb7e99daf4c2698154df633c340fd9Created: 2023-12-19 03:40:10.302489 UTC
Size: 815
Preview (limited to 512 bytes)
"module Foreign.Storable.OrphansSpec (main, spec) where\n\nimport Test.Hspec\nimport Data.Complex\nimport Data.Orphans ()\nimport Data.Ratio\nimport Foreign.Storable\n\nmain :: IO ()\nmain = hspec spec\n\nspec :: Spec\nspec = do\n describe \"Storable Complex instance\" $ do\n it \"has twice the sizeOf its realPart\" $ do\n sizeOf (undefined :: Complex Double) `shouldBe` 2*sizeOf (1 :: Double)\n it \"has the alignment of its realPart\" $ do\n alignment (undefined :: Complex Double) `shouldBe` alignment (1 :: Double"
Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete