Пример #1
0
 def test_check_first_1_million(self):
     for i in range(100000):
         self.assertEqual(is_microwave(i), simple_is_microwave(i))
Пример #2
0
 def test_is_microwave_obvious_values(self):
     self.assertTrue(is_microwave(1))
     self.assertFalse(is_microwave(2))