Sha256: a242ed0bb891edc1389fb5f4703c7e217247f4c7449c98c19f0ae946c0a5776f
Contents?: true
Size: 460 Bytes
Versions: 158
Compression:
Stored size: 460 Bytes
Contents
import Test.Hspec (Spec, describe, it, shouldBe) import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith) import ZebraPuzzle (Resident(..), Solution(..), solve) main :: IO () main = hspecWith defaultConfig {configFastFail = True} specs specs :: Spec specs = describe "zebra-puzzle" $ it "solve" $ solve `shouldBe` Solution { waterDrinker = Norwegian , zebraOwner = Japanese }
Version data entries
158 entries across 158 versions & 1 rubygems