'Tests setup.
Run tests based on the 1-D and 2-D functions described above.'

def setup_method(self):

    self.x0 = (1.0, [1.0, 1.0])
    self.sol = ((-0.195), np.array([(-0.195), (-0.1)]))
    self.tol = 3
    self.niter = 100
    self.disp = False
    np.random.seed(1234)
    self.kwargs = {'method': 'L-BFGS-B', 'jac': True}
    self.kwargs_nograd = {'method': 'L-BFGS-B'}
