From 3e6d1eacaa8829d6ac0e4b40bcb5a41bcb59846a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 15 Jul 2024 13:38:53 +0300 Subject: remember to clean up properly --- tests/blei_u.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/blei_u.c') diff --git a/tests/blei_u.c b/tests/blei_u.c index 98c8fcc..b078995 100644 --- a/tests/blei_u.c +++ b/tests/blei_u.c @@ -21,7 +21,9 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit); - assert(ejit_run_func_1(f, EJIT_ARG(0, long)) == 1); - assert(ejit_run_func_1(f, EJIT_ARG(1, long)) == 0); - assert(ejit_run_func_1(f, EJIT_ARG(-1, long)) == 0); + assert(erf1(f, EJIT_ARG(0, long)) == 1); + assert(erf1(f, EJIT_ARG(1, long)) == 0); + assert(erf1(f, EJIT_ARG(-1, long)) == 0); + + ejit_destroy_func(f); } -- cgit v1.2.3