code: def get_tests(collection="original", smoothness=None):
      r"""Return the requested collection of test cases, as an array of dicts with subset-specific keys
  
      Allowed values of collection:
      'original': The original benchmarking functions.
           Real-valued functions of real-valued inputs on an interval with a zero.
           f1, .., f3 are continuous and infinitely differentiable
           f4 has a single discontinuity at the root
           f5 has a root at 1 replacing a 1st order pole
           f6 is randomly positive on one side of the root, randomly negative on the other
      'aps': The test problems in the TOMS "Algorithm 748: Enclosing Zeros of Continuous Functions"
           paper by Alefeld, Potra and Shi.  Real-valued functions of
           real-valued inputs on an interval with a zero.
           Suitable for methods which start with an enclosing interval, and
           derivatives up to 2nd order.
      'complex': Some complex-valued functions of complex-valued inputs.
           No enclosing bracket is provided.
           Suitable for methods which use one or more starting values, and
           derivatives up to 2nd order.
  
      The dictionary keys will be a subset of
      ["f", "fprime", "fprime2", "args", "bracket", "a", b", "smoothness", "x0", "x1", "root", "ID"]
      """
      collection = collection or "original"
      subsets = {
          "aps": _APS_TESTS_DICTS,
          "complex": _COMPLEX_TESTS_DICTS,
          "original": _ORIGINAL_TESTS_DICTS,
      }
      tests = subsets.get(collection, [])
      if smoothness is not None:
          tests = [tc for tc in tests if tc["smoothness"] >= smoothness]
      return tests
  
imports: from __future__ import division, print_function, absolute_import
  from random import random
  import numpy
  from scipy.optimize import zeros
label_desc: Use image node_id 65 for calling a global function with example usage: get_tests(collection, smoothness) and returns: tests