Create a test file for each of the koan modules
This commit is contained in:
20
test/koans/strings_koan_test.exs
Normal file
20
test/koans/strings_koan_test.exs
Normal file
@@ -0,0 +1,20 @@
|
||||
defmodule StringTests do
|
||||
use ExUnit.Case
|
||||
use TestHarness
|
||||
|
||||
test "Strings" do
|
||||
answers = [
|
||||
"hello",
|
||||
"hello ",
|
||||
"hello world",
|
||||
"An incredible day",
|
||||
"incredible",
|
||||
"banana",
|
||||
"banana",
|
||||
"String",
|
||||
"listen"
|
||||
]
|
||||
|
||||
test_all(Strings, answers)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user