From 8d84000497feef8a73e7461a0366851061a625c8 Mon Sep 17 00:00:00 2001 From: CrossNox Date: Sun, 27 Nov 2022 13:13:59 -0300 Subject: [PATCH] add tess --- test/rustint/core_test.clj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/rustint/core_test.clj b/test/rustint/core_test.clj index 3276ecf..98eb094 100644 --- a/test/rustint/core_test.clj +++ b/test/rustint/core_test.clj @@ -217,6 +217,12 @@ ) ) +(deftest dump-01-nil + (testing "Test 01 dump nil" + (is (nil? (dump '[[POPREF 2] [PUSHFI 2] MUL [PUSHFI 1] ADD NEG]))) + ) +) + (deftest dump-02 (testing "Test 02 dump" (let [ @@ -227,3 +233,9 @@ ) ) ) + +(deftest dump-02-nil + (testing "Test 02 dump nil" + (is (nil? (dump '[HLT]))) + ) +)