Files
elixir-koans/test/koans/strings_koan_test.exs
Jay Hayes f9a7f7016c Prefer function output over input
When learning about the behavior of a function, in general the learning
experience is better when provided with the input and asked for the
output.
2016-06-10 11:08:25 -05:00

21 lines
324 B
Elixir

defmodule StringTests do
use ExUnit.Case
import TestHarness
test "Strings" do
answers = [
"hello",
"hello ",
"hello world",
"An incredible day",
"incredible",
"banana",
"banana",
"StringStringString",
"LISTEN",
]
test_all(Strings, answers)
end
end