From 871943dc35f9fecedf9b8ce16514e134996a4129 Mon Sep 17 00:00:00 2001 From: Felisp Date: Tue, 22 Oct 2024 13:12:10 +0200 Subject: [PATCH] Vectorize test --- test/rss_thread_watch/utils_test.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/rss_thread_watch/utils_test.clj b/test/rss_thread_watch/utils_test.clj index 92525c3..ac1bd4c 100644 --- a/test/rss_thread_watch/utils_test.clj +++ b/test/rss_thread_watch/utils_test.clj @@ -61,6 +61,10 @@ :scnd {:super :nested}}} (map-apply-defaults first-map deep-pony-map))))) +(deftest vectorize-test + (testing "Vectorizing of value" + (is (= ["foo"] (vectorize "foo") (vectorize ["foo"]))))) + (deftest fmap-test (testing "Applying function to values of map" (is (= {:a 2 :b 3} (fmap (fn [k v] (inc v))