diff options
Diffstat (limited to 'tests/beqr_d.c')
-rw-r--r-- | tests/beqr_d.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/beqr_d.c b/tests/beqr_d.c index 62e4269..b7e401e 100644 --- a/tests/beqr_d.c +++ b/tests/beqr_d.c @@ -23,15 +23,15 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 0, 2, EJIT_USE64(double), do_jit); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(0, double)) == 1); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(1, double)) == 0); - assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0); - assert(erf2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 0); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(-1, double)) == 0); - assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1); - - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(0.0/0.0, double)) == 0); - assert(erf2(f, EJIT_ARG(0.0/0.0, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(0, double)) == 1); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(1, double)) == 0); + assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(-1, double)) == 0); + assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1); + + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(0.0/0.0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0.0/0.0, double), EJIT_ARG(0, double)) == 0); ejit_destroy_func(f); } |