def test_are_anagrams_ignore_spaces_and_case(word1, word2, expected): result = is_anagram(word1, word2) assert result is expected
def test_are_not_anagrams(word1, word2): result = is_anagram(word1, word2) assert result is False
def test_is_geen_anagram(): result = is_anagram("konijn", "ezel") assert result is False
def test_are_anagrams(word1, word2): result = is_anagram(word1, word2) assert result is True
def test_is_anagram(): result = is_anagram("listen", "silent") assert result is True