diff --git a/test/rustint/core_test.clj b/test/rustint/core_test.clj index 864464b..0888e07 100644 --- a/test/rustint/core_test.clj +++ b/test/rustint/core_test.clj @@ -493,3 +493,20 @@ false)) ) ) + +(deftest test-ya-declarado-localmente-03 + (testing "Test 03 ya-declarado-localmente?" + (is (= (ya-declarado-localmente? + 'Write + [ + [0 1] + [ + ['io ['lib '()] 0] + ['Write ['lib '()] 0] + ['entero_a_hexa ['fn [(list ['n (symbol ":") 'i64]) 'String]] 2] + ] + ] + ) + true)) + ) +)