code: def testBatesPDFHighTotalCount(self):
      # Compute with exact integer arithmetic.
      def exact(n, nx):
          fractional = sum(
              fractions.Fraction(
                  (-1) ** k * (nx - k) ** (n - 1) * math.factorial(n),
                  math.factorial(n - k) * math.factorial(k),
              )
              for k in range(nx + 1)
          ) * fractions.Fraction(n, math.factorial(n - 1))
          return fractional.numerator / fractional.denominator
  
      tests = [
          (48, 0.25),
          (48, 0.5),
          (48, 0.75),
          (50, 0.02),
          (50, 0.48),
          (50, 0.52),
          (50, 0.98),
      ]
      for n, x in tests:
          nx_ = n * x
          nx = int(nx_)
          self.assertAllClose(nx_, nx)
  
          b = bates.Bates(total_count=n, low=tf.cast(0, tf.float64))
          val = b.prob(tf.cast(x, tf.float64))
          self.assertAllEqual([], self.evaluate(tf.shape(val)))
          self.assertAllClose(self.evaluate(val), exact(n, nx))
  
imports: import fractions
  import math
  import sys
  from absl.testing import parameterized
  import hypothesis
  import hypothesis.strategies
  import numpy
  import scipy
  import scipy.integrate
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import bates
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 17 for calling the BatesTest obj's underlying member method code with example usage: obj.testBatesPDFHighTotalCount() and returns: unknown