diff options
Diffstat (limited to 'tests/ger.c')
-rw-r--r-- | tests/ger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ger.c b/tests/ger.c index 8dc064d..457eada 100644 --- a/tests/ger.c +++ b/tests/ger.c @@ -18,14 +18,14 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit); - assert(ejit_run_func_2(f, EJIT_ARG(1, long), EJIT_ARG(1, long)) == 1); - assert(ejit_run_func_2(f, EJIT_ARG(0, long), EJIT_ARG(1, long)) == 0); + assert(erfi2(f, EJIT_ARG(1, long), EJIT_ARG(1, long)) == 1); + assert(erfi2(f, EJIT_ARG(0, long), EJIT_ARG(1, long)) == 0); - assert(ejit_run_func_2(f, + assert(erfi2(f, EJIT_ARG(0x0fffffffffffffff, long), EJIT_ARG(0x0ffffffffffffff0, long)) == 1); - assert(ejit_run_func_2(f, + assert(erfi2(f, EJIT_ARG(0x7fffffffffffffff, long), EJIT_ARG(0x6ffffffffffffff0, long)) == 1); ejit_destroy_func(f); |