Make sure blank is on the right and improve koans

This commit is contained in:
Felipe Sere
2016-04-23 10:56:17 +01:00
parent 29da6d92a0
commit 14d4e4f551
11 changed files with 46 additions and 55 deletions

View File

@@ -1,14 +1,14 @@
defmodule Tuples do
use Koans
koan "Tuples have a size" do
assert tuple_size({:a, :b, :c}) == ___
end
koan "Tuples can contain different things" do
assert {:a, 1, "hi"} == ___
end
koan "Tuples have a size" do
assert tuple_size({:a, :b, :c}) == ___
end
koan "You can pull out individual elements" do
assert elem({:a, "hi"}, 1) == ___
end