def test_check_first_1_million(self): for i in range(100000): self.assertEqual(is_microwave(i), simple_is_microwave(i))
def test_is_microwave_obvious_values(self): self.assertTrue(is_microwave(1)) self.assertFalse(is_microwave(2))