diff --git a/exercises/triangle/tests/Tests.elm b/exercises/triangle/tests/Tests.elm index 861d60e..03e1ffb 100644 --- a/exercises/triangle/tests/Tests.elm +++ b/exercises/triangle/tests/Tests.elm @@ -2,13 +2,15 @@ module Tests exposing (..) import Test exposing (..) import Expect -import Triangle exposing (triangleKind, Triangle(..)) +import Triangle exposing (triangleKind, Triangle(..), version) tests : Test tests = describe "triangleKind" - [ test "equilateral triangles have equal sides" <| + [ test "the solution is for the correct version of the test" <| + \() -> Expect.equal 2 version + , test "equilateral triangles have equal sides" <| \() -> Expect.equal (Ok Equilateral) (triangleKind 2 2 2) , test "larger equilateral triangles also have equal sides" <| \() -> Expect.equal (Ok Equilateral) (triangleKind 10 10 10)