diff options
Diffstat (limited to 'tests/bner_f.c')
-rw-r--r-- | tests/bner_f.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/bner_f.c b/tests/bner_f.c index a48ef2c..5c38d92 100644 --- a/tests/bner_f.c +++ b/tests/bner_f.c @@ -23,14 +23,14 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 0, 2, EJIT_USE64(float), do_jit); - assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0, float)) == 0); - assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(1, float)) == 1); - assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(0, float)) == 1); - assert(erf2(f, EJIT_ARG(-1, float), EJIT_ARG(0, float)) == 1); - assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(-1, float)) == 1); - assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(1, float)) == 0); - assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0.0/0.0, float)) == 1); - assert(erf2(f, EJIT_ARG(0.0/0.0, float), EJIT_ARG(0, float)) == 1); + assert(erfi2(f, EJIT_ARG( 0, float), EJIT_ARG( 0, float)) == 0); + assert(erfi2(f, EJIT_ARG( 0, float), EJIT_ARG( 1, float)) == 1); + assert(erfi2(f, EJIT_ARG( 1, float), EJIT_ARG( 0, float)) == 1); + assert(erfi2(f, EJIT_ARG(-1, float), EJIT_ARG( 0, float)) == 1); + assert(erfi2(f, EJIT_ARG( 0, float), EJIT_ARG(-1, float)) == 1); + assert(erfi2(f, EJIT_ARG( 1, float), EJIT_ARG( 1, float)) == 0); + assert(erfi2(f, EJIT_ARG( 0, float), EJIT_ARG( 0.0/0.0, float)) == 1); + assert(erfi2(f, EJIT_ARG( 0.0/0.0, float), EJIT_ARG(0, float)) == 1); ejit_destroy_func(f); } |