Add atom koans

This commit is contained in:
Jay Hayes
2016-05-04 19:13:09 -05:00
parent 52f8ed0d6c
commit 53fc465c3f
2 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
defmodule AtomsTests do
use ExUnit.Case
import TestHarness
test "Atoms" do
answers = [
:human,
{:multiple, [:atomized, "stringified"]},
{:multiple, ["Jay", "Jay"]},
{:multiple, [true, true, true, false]},
{:multiple, [true, String, "HELLO"]},
{:multiple, [true, [1,2,3]]},
]
test_all(Atoms, answers)
end
end