Add atom koans
This commit is contained in:
17
test/koans/atoms_koans_test.exs
Normal file
17
test/koans/atoms_koans_test.exs
Normal 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
|
Reference in New Issue
Block a user