def _help_test_is_power_of_k(self, k):
     for i in range(2, 40):
         _assert(mathutil.is_power_of_k(k**i, k), k, i)
Пример #2
0
 def _help_test_is_power_of_k(self, k):
     for i in range(2, 40):
         _assert(mathutil.is_power_of_k(k**i, k), k, i)