aboutsummaryrefslogtreecommitdiff
path: root/tests/blei_u.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-15 13:38:53 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-15 13:38:53 +0300
commit3e6d1eacaa8829d6ac0e4b40bcb5a41bcb59846a (patch)
tree33c1f53625cc0652a6d7ebdaea6b48771e5247d0 /tests/blei_u.c
parent8e04d594e8d280e37651f9976be52e0052c90513 (diff)
downloadejit-3e6d1eacaa8829d6ac0e4b40bcb5a41bcb59846a.tar.gz
ejit-3e6d1eacaa8829d6ac0e4b40bcb5a41bcb59846a.zip
remember to clean up properly
Diffstat (limited to 'tests/blei_u.c')
-rw-r--r--tests/blei_u.c8
1 files changed, 5 insertions, 3 deletions
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);
}