Create a test file for each of the koan modules

This commit is contained in:
Felipe Sere
2016-04-23 11:46:45 +01:00
parent 4c5009c697
commit b1479487b0
14 changed files with 250 additions and 215 deletions

View File

@@ -0,0 +1,22 @@
defmodule FunctionsTests do
use ExUnit.Case
use TestHarness
test "Functions" do
answers = [
"Hello, World!",
3,
{:multiple, ["One and Two", "Only One"]},
{:multiple, ["Hello Hello Hello Hello Hello ","Hello Hello "]},
{:multiple, [:entire_list, :single_thing]},
{:multiple, ["10 is bigger than 5", "4 is not bigger than 27"]},
{:multiple, ["It was zero", "The length was 5"]},
6,
6,
100,
"Full Name"
]
test_all(Functions, answers)
end
end