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.119 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.118 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.117 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.116 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.115 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.114 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.113 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.111 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.110 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.109 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.108 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.107 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.106 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.105 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.104 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.103 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.102 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.101 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.100 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.99 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs