aboutsummaryrefslogtreecommitdiff
path: root/tests/bler_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bler_d.c')
-rw-r--r--tests/bler_d.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/bler_d.c b/tests/bler_d.c
index 3d3d1d7..f1dab79 100644
--- a/tests/bler_d.c
+++ b/tests/bler_d.c
@@ -21,14 +21,14 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 0, 2, EJIT_USE64(long), 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)) == 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(0, double), EJIT_ARG(-1, 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)) == 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( 0, double), EJIT_ARG(-1, double)) == 0);
- 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.0/0.0, double)) == 0);
+ assert(erfi2(f, EJIT_ARG(0.0/0.0, double), EJIT_ARG(0, double)) == 0);
ejit_destroy_func(f);
}