mirror of
https://github.com/correl/elm.git
synced 2024-12-18 19:21:37 +00:00
commit
47ae45834a
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
module Bob where
|
||||
|
||||
module Bob (..) where
|
||||
|
||||
import String
|
||||
import Regex
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
module Main (..) where
|
||||
|
||||
import Task
|
||||
import Console
|
||||
import ElmTest exposing (..)
|
||||
|
@ -9,7 +11,8 @@ import Bob
|
|||
|
||||
tests : Test
|
||||
tests =
|
||||
suite "Bob"
|
||||
suite
|
||||
"Bob"
|
||||
[ test "stating something" (assertEqual "Whatever." (Bob.hey "Tom-ay-to, tom-aaaah-to."))
|
||||
, test "shouting" (assertEqual "Whoa, chill out!" (Bob.hey "WATCH OUT!"))
|
||||
, test "shouting gibberish" (assertEqual "Whoa, chill out!" (Bob.hey (uppercaseGibberish 10)))
|
||||
|
|
Loading…
Reference in a new issue