Sha256: 27fb6fe3d6243745b8f5da346b8fb345652224361c7b2321267edd03f4be74a6

Contents?: true

Size: 772 Bytes

Versions: 74

Compression:

Stored size: 772 Bytes

Contents

module Tests exposing (..)

import Expect
import HelloWorld exposing (helloWorld)
import Test exposing (..)


tests : Test
tests =
    describe "Hello, World!"
        [ test "Hello with no name" <|
            \() ->
                Expect.equal "Hello, World!" (helloWorld Nothing)

        -- Once you get the first test passing, remove the
        -- `skip <|` (just leave the comma) on the next two
        -- lines to continue!
        , skip <|
            test "Hello to a sample name" <|
                \() ->
                    Expect.equal "Hello, Alice!" (helloWorld (Just "Alice"))
        , skip <|
            test "Hello to another sample name" <|
                \() ->
                    Expect.equal "Hello, Bob!" (helloWorld (Just "Bob"))
        ]

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.179 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.178 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.177 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.176 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.175 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.174 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.173 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.172 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.171 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.170 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.169 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.167 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.166 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.165 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.164 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.163 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.162 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.161 tracks/elm/exercises/hello-world/tests/Tests.elm
trackler-2.2.1.160 tracks/elm/exercises/hello-world/tests/Tests.elm