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.159 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.158 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.157 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.156 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.155 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.154 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.153 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.152 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.151 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.150 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.149 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.148 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.147 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.146 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.145 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.144 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.143 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.142 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.141 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.2.1.140 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs