def METHOD_NAME(self):
    code = '''
    from math import factorial
    def pow_accuracy(N, i):
        N = N ** i
        p = 0.0000001 * 1.0
        binomial_coef = 1. * factorial(N) / factorial(i) / factorial(N-i)
        pp = binomial_coef * p**i * (1-p)**(N-i)
        return pp'''
    self.run_test(code,
                  3, 2,
                  pow_accuracy=[int, int])