'Test the default constants provided in calc.py
which are: j (complex number), e, pi, k, c, T, q'

def test_constants(self):

    default_variables = [('i', 1j, None), ('j', 1j, None), ('e', 2.7183, 0.0001), ('pi', 3.1416, 0.0001), ('k', 1.3806488e-23, 1e-26), ('c', 299800000.0, 100000.0), ('T', 298.15, 0.01), ('q', 1.602176565e-19, 1e-22)]
    for (variable, value, tolerance) in default_variables:
        fail_msg = "Failed    on    constant    '{0}',    not    within    bounds".format(variable)
        result = calc.evaluator({}, {}, variable)
        if (tolerance is None):
            self.assertEqual(value, result, msg=fail_msg)
        else:
            self.assertAlmostEqual(value, result, delta=tolerance, msg=fail_msg)
