'Default tolerance for all responsetypes is 1e-3%.'

def test_floats(self):

    problem_setup = [[1, ['1'], ['1.1']], [2.0, ['2.0'], ['1.0']], [4, ['4.0', '4.00004'], ['4.00005']], [0.00016, ['1.6*10^-4'], ['']], [1.6e-05, ['1.6*10^-5'], ['0.000165']], [1.9e+24, ['1.9*10^24'], ['1.9001*10^24']], [2e-15, ['2*10^-15'], ['']], [3.1415926535897933e+18, ['3141592653589793115.'], ['']], [0.1234567, ['0.123456', '0.1234561'], ['0.123451']], [1e-05, ['1e-5', '1.0e-5'], ['-1e-5', '2*1e-5']]]
    for (given_answer, correct_responses, incorrect_responses) in problem_setup:
        problem = self.build_problem(answer=given_answer)
        self.assert_multiple_grade(problem, correct_responses, incorrect_responses)
