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,25 @@
defmodule ListsTests do
use ExUnit.Case
use TestHarness
test "Lists" do
answers = [1,
3,
[1, 2, :a, "b"],
[1,2],
[1,2,3],
[1,3],
["life", "life", "life"],
[1, 2, 3, 4, 5],
[1, 4, 2, 3],
[10, 2, 3],
[1, 2, 3],
[1, 2, 3, 4],
[1, 2, 3, 4],
{1, 2, 3},
["value"],
]
test_all(Lists, answers)
end
end