Пример #1
0
    def test0033(self):
        from id_0033 import gcd, is_curious

        self.assertEqual(gcd(15, 10), 5)
        self.assertEqual(gcd(21, 10), 1)
        self.assertEqual(gcd(21, 15), 3)
        self.assertEqual(gcd(8, 3), 1)
        self.assertEqual(gcd(1264, 465), 1)
        self.assertEqual(is_curious((49, 98)), True)
Пример #2
0
    def test0034(self):
        from id_0034 import is_curious

        self.assertEqual(is_curious(145), True)