Пример #1
0
	def test_naughty(self):
		self.assertFalse(part1.is_nice("dvszwmarrgswjxmb"))
		self.assertFalse(part1.is_nice("jchzalrnumimnmhp"))
		self.assertFalse(part1.is_nice("haegwjzuvuyypxyu"))
		self.assertFalse(part1.is_nice("dvszwmarrgswjxmb"))
Пример #2
0
	def test_nice(self):
		self.assertTrue(part1.is_nice("ugknbfddgicrmopn"))
		self.assertTrue(part1.is_nice("aaa"))