MCPcopy
hub / github.com/keon/algorithms / test_is_anagram

Method test_is_anagram

tests/test_map.py:186–188  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184
185class TestIsAnagram(unittest.TestCase):
186 def test_is_anagram(self):
187 self.assertTrue(is_anagram("anagram", "nagaram"))
188 self.assertFalse(is_anagram("rat", "car"))
189
190
191if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

is_anagramFunction · 0.90

Tested by

no test coverage detected