'Test for simple things like \'5+2\' and \'5/2\''

def test_operator_sanity(self):

    var1 = 5.0
    var2 = 2.0
    operators = [('+', 7), ('-', 3), ('*', 10), ('/', 2.5), ('^', 25)]
    for (operator, answer) in operators:
        input_str = '{0}    {1}    {2}'.format(var1, operator, var2)
        result = calc.evaluator({}, {}, input_str)
        fail_msg = "Failed    on    operator    '{0}':    '{1}'    was    not    {2}".format(operator, input_str, answer)
        self.assertEqual(answer, result, msg=fail_msg)
