code: def _test_compute_eps_from_delta_monotonicity(self):
      # Test for monotonicity with respect to delta.
      orders = [1.1, 2.5, 250.0]
      sigmas = [1e-3, 1.0, 1e5]
      deltas = [1e-60, 1e-6, 0.1, 0.999]
      for sigma in sigmas:
          list_of_eps = []
          rdps_for_gaussian = np.array(orders) / (2 * sigma**2)
          for delta in deltas:
              list_of_eps.append(
                  pate.compute_eps_from_delta(
                      orders, rdps_for_gaussian, delta
                  )[0]
              )
  
          # Check that in list_of_eps, epsilons are decreasing (as delta increases).
          sorted_list_of_eps = list(list_of_eps)
          sorted_list_of_eps.sort(reverse=True)
          self.assertEqual(list_of_eps, sorted_list_of_eps)
  
file_path: privacy/research/pate_2018/core_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import unittest
  import numpy
  import core
label_desc: Use image node_id 4 for calling the PateTest obj's underlying member method code with example usage: obj._test_compute_eps_from_delta_monotonicity() without return types