14 lines
269 B
Elixir
14 lines
269 B
Elixir
Code.require_file "test_helper.exs", __DIR__
|
|
|
|
defmodule AtomTest do
|
|
use ExUnit.Case, async: true
|
|
|
|
test "to_string/1" do
|
|
assert Atom.to_string(:"héllo") == "héllo"
|
|
end
|
|
|
|
test "to_char_list/1" do
|
|
assert Atom.to_char_list(:"héllo") == 'héllo'
|
|
end
|
|
end
|