diff options
Diffstat (limited to 'tests/extr_16.c')
-rw-r--r-- | tests/extr_16.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/extr_16.c b/tests/extr_16.c index 1d98e0f..412cba9 100644 --- a/tests/extr_16.c +++ b/tests/extr_16.c @@ -15,12 +15,12 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit); - assert(erf1(f, EJIT_ARG(0, long)) == 0); - assert(erf1(f, EJIT_ARG(1, long)) == 1); - assert(erf1(f, EJIT_ARG(0xfff, long)) == 0xfff); - assert(erf1(f, EJIT_ARG(0xffff, long)) == -1); - assert(erf1(f, EJIT_ARG(0xfffff, long)) == -1); - assert(erf1(f, EJIT_ARG(0xf0000, long)) == 0); + assert(erfi1(f, EJIT_ARG(0, long)) == 0); + assert(erfi1(f, EJIT_ARG(1, long)) == 1); + assert(erfi1(f, EJIT_ARG(0xfff, long)) == 0xfff); + assert(erfi1(f, EJIT_ARG(0xffff, long)) == -1); + assert(erfi1(f, EJIT_ARG(0xfffff, long)) == -1); + assert(erfi1(f, EJIT_ARG(0xf0000, long)) == 0); ejit_destroy_func(f); } |