15 lines
418 B
Elixir
15 lines
418 B
Elixir
|
defmodule AnagramTest do
|
||
|
use ExUnit.Case
|
||
|
import Anagram
|
||
|
doctest Anagram
|
||
|
|
||
|
test "some test description" do
|
||
|
assert anagram?("foefet", "toffee") === true
|
||
|
assert anagram?("Buckethead", "DeathCubeK") === true
|
||
|
assert anagram?("Twoo", "WooT") === true
|
||
|
assert anagram?("dumble", "bumble") === false
|
||
|
assert anagram?("ound", "round") === false
|
||
|
assert anagram?("apple", "pale") === false
|
||
|
end
|
||
|
end
|