1
Fork 0
solar-conflux/elm/todolist/tests/Tests.elm
Matei Adriel 8cd06f56bd
elm(todolist): chore: initial setup
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-28 15:56:39 +02:00

23 lines
549 B
Elm

module Tests exposing (..)
import Test exposing (..)
import Expect
-- Check out https://package.elm-lang.org/packages/elm-explorations/test/latest to learn more about testing in Elm!
all : Test
all =
describe "A Test Suite"
[ test "Addition" <|
\_ ->
Expect.equal 10 (3 + 7)
, test "String.left" <|
\_ ->
Expect.equal "a" (String.left 1 "abcdefg")
, test "This test should fail" <|
\_ ->
Expect.fail "failed as expected!"
]