From 9164cb309971486221874f8acc1f1b66dc3032f3 Mon Sep 17 00:00:00 2001 From: CrossNox Date: Sun, 27 Nov 2022 13:15:05 -0300 Subject: [PATCH] add test --- test/rustint/core_test.clj | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/rustint/core_test.clj b/test/rustint/core_test.clj index 98eb094..6c3db2b 100644 --- a/test/rustint/core_test.clj +++ b/test/rustint/core_test.clj @@ -239,3 +239,20 @@ (is (nil? (dump '[HLT]))) ) ) + +(deftest dump-03 + (testing "Test 03 dump" + (let [ + printed (with-out-str (dump nil)) + ] + (is (= printed "0 nil\n" +)) + ) + ) +) + +(deftest dump-03-nil + (testing "Test 03 dump nil" + (is (nil? (dump nil))) + ) +)