tests: Allow float tests to run when MATH_SPECIAL_FUNCTIONS is disabled.

This commit is contained in:
Damien George
2016-01-08 14:27:21 +00:00
parent 978d2e55ef
commit b1fa907d56
4 changed files with 45 additions and 11 deletions

View File

@@ -13,16 +13,7 @@ unit_range_test_values = [-1., -0.75, -0.5, -0.25, 0., 0.25, 0.5, 0.75, 1.]
functions = [('sqrt', sqrt, test_values),
('exp', exp, test_values_small),
('expm1', expm1, test_values_small),
('log', log, test_values),
('log2', log2, test_values),
('log10', log10, test_values),
('cosh', cosh, test_values_small),
('sinh', sinh, test_values_small),
('tanh', tanh, test_values_small),
('acosh', acosh, [1.0, 5.0, 1.0]),
('asinh', asinh, test_values),
('atanh', atanh, [-0.99, -0.5, 0.0, 0.5, 0.99]),
('cos', cos, test_values),
('sin', sin, test_values),
('tan', tan, test_values),