Пример #1
0
 def test_non_alphabetic_string_input(self):
     output = anagram_solver.validate_input(")(*)*)*&^(*&^(*&^(*&^")
     self.assertEqual(output, False)
Пример #2
0
 def test_max_word_length(self):
     output = anagram_solver.validate_input("antidisestablishmentarianism")
     self.assertEqual(output, False)
Пример #3
0
 def test_non_string_input(self):
     with self.assertRaises(AttributeError):
         output = anagram_solver.validate_input(9999)