'Calculate combinations of operators and default functions'

def test_complex_expression(self):

    self.assertAlmostEqual(calc.evaluator({}, {}, '(2^2+1.0)/sqrt(5e0)*5-1'), 10.18, delta=0.001)
    self.assertAlmostEqual(calc.evaluator({}, {}, '1+1/(1+1/(1+1/(1+1)))'), 1.6, delta=0.001)
    self.assertAlmostEqual(calc.evaluator({}, {}, '10||sin(7+5)'), (-0.567), delta=0.01)
    self.assertAlmostEqual(calc.evaluator({}, {}, 'sin(e)'), 0.41, delta=0.01)
    self.assertAlmostEqual(calc.evaluator({}, {}, 'k*T/q'), 0.025, delta=0.001)
    self.assertAlmostEqual(calc.evaluator({}, {}, 'e^(j*pi)'), (-1), delta=1e-05)
