From ad2c3d3606232bf5a861913bc73f5a9191919499 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Wed, 22 Sep 2021 18:23:10 -0500 Subject: [PATCH] Create first basic test --- test/clj/coffi/ffi_test.clj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/clj/coffi/ffi_test.clj b/test/clj/coffi/ffi_test.clj index a39b327..07c58a2 100644 --- a/test/clj/coffi/ffi_test.clj +++ b/test/clj/coffi/ffi_test.clj @@ -3,6 +3,7 @@ [clojure.test :as t] [coffi.ffi :as sut])) -(t/deftest a-test - (t/testing "FIXME, I fail." - (t/is (= 0 1)))) +(sut/load-library "target/ffi_test.so") + +(t/deftest can-load-symbols + (t/is (not (nil? (sut/find-symbol "add_points")))))