diff options
Diffstat (limited to 'tests/divr_f.c')
-rw-r--r-- | tests/divr_f.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/divr_f.c b/tests/divr_f.c index 081c63d..980844b 100644 --- a/tests/divr_f.c +++ b/tests/divr_f.c @@ -15,13 +15,13 @@ int main() ejit_select_compile_func(f, 0, 2, EJIT_USE64(double), do_jit); - assert(ejit_run_func_2(f, - EJIT_ARG(-0.5f, double), - EJIT_ARG(0.5f, double)) == -1.0f); + assert(erff2(f, + EJIT_ARG(-0.5f, double), + EJIT_ARG(0.5f, double)) == -1.0f); - assert(ejit_run_func_2(f, - EJIT_ARG(1.25f, double), - EJIT_ARG(0.5f, double)) == 2.5f); + assert(erff2(f, + EJIT_ARG(1.25f, double), + EJIT_ARG(0.5f, double)) == 2.5f); ejit_destroy_func(f); } |