def test0038(self): from id_0038 import is_pandigital, pandigital_concatenated_product self.assertEqual(is_pandigital(192), False) self.assertEqual(is_pandigital(123456789), True) self.assertEqual(pandigital_concatenated_product(192)[:2], (True, 3)) self.assertEqual(pandigital_concatenated_product(9)[:2], (True, 5))
def test0032(self): from id_0032 import is_pandigital self.assertEqual(is_pandigital(7254), True) self.assertEqual(is_pandigital(1234), False)