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

Version Path
trackler-2.2.1.180 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.179 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.178 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.177 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.176 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.175 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.174 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.173 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.172 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.171 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.170 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.169 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.167 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.166 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.165 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.164 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.163 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.162 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.161 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.160 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs