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

Version Path
trackler-2.1.0.11 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.10 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.9 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.8 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.7 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.6 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.5 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.4 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.3 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.2 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.1 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.1.0.0 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.55 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.54 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.53 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.52 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.51 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.50 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.49 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs
trackler-2.0.8.48 tracks/haskell/exercises/zebra-puzzle/test/Tests.hs