Example #1
0
 def test_two_string_anagrams_false(self):
     self.assertFalse(anagramm('albert', 'rokalb'))
Example #2
0
 def test_two_strings_with_space_anagrams_true(self):
     self.assertTrue(anagramm(' lomha', 'ha lom'))
Example #3
0
 def test_two_string_anagrams_true(self):
     self.assertTrue(anagramm('mary', 'yram'))
Example #4
0
 def test_two_strings_with_hypen_nagrams_true(self):
     self.assertTrue(anagramm('al-ma', '-lama'))
Example #5
0
 def test_empty_strings_anagrams_true(self):
     self.assertTrue(anagramm('', ''))
Example #6
0
 def test_two_string_with_uppercase_anagrams_True(self):
     self.assertTrue(anagramm('Kalman', 'mankal'))
Example #7
0
 def test_number_and_number_anagrams_false(self):
     self.assertTrue(anagramm('10001', '00101'))
Example #8
0
 def test_number_and_string_anagrams_false(self):
     self.assertFalse(anagramm('10001', 'amadeus'))