aboutsummaryrefslogtreecommitdiff
path: root/tests/ler_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ler_d.c')
-rw-r--r--tests/ler_d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ler_d.c b/tests/ler_d.c
index 81dbda0..05b59b8 100644
--- a/tests/ler_d.c
+++ b/tests/ler_d.c
@@ -18,9 +18,9 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 1, 2, EJIT_USE64(double), do_jit);
- assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1);
- assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0);
- assert(erf2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 1);
- assert(erf2(f, EJIT_ARG(-1, double), EJIT_ARG(-1, double)) == 1);
+ assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1);
+ assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0);
+ assert(erfi2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 1);
+ assert(erfi2(f, EJIT_ARG(-1, double), EJIT_ARG(-1, double)) == 1);
ejit_destroy_func(f);
}