Sha256: e848cc5c03735bd0ccca6d796a20ba7150d7ae4de28e3adca2a2e34371dcb74a
Contents?: true
Size: 412 Bytes
Versions: 229
Compression:
Stored size: 412 Bytes
Contents
import Test.Hspec (Spec, 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 = it "solve" $ solve `shouldBe` Solution { waterDrinker = Norwegian , zebraOwner = Japanese }
Version data entries
229 entries across 229 versions & 1 rubygems