Add list koan back in

This commit is contained in:
Uku Taht
2016-03-21 13:18:38 +00:00
parent 7ee7514192
commit 264381338a
2 changed files with 5 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ defmodule Lists do
assert List.last([1, 2, 3]) == :__
end
koan "Lists can store anything you throw at them" do
assert [1, 2] ++ [:a, "b"] == :__
end
koan "Things can evolve" do
assert [1, 2, 3] -- [3] == :__
end

View File

@@ -63,6 +63,7 @@ defmodule KoansHarnessTest do
test "Lists" do
answers = [1,
3,
[1, 2, :a, "b"],
[1,2],
[1,2,3],
[1,3],