Compare commits

...

2 commits

Author SHA1 Message Date
987a01906e Prepare Filter-chod-posts tests 2024-10-25 02:32:14 +02:00
871943dc35 Vectorize test 2024-10-22 13:12:10 +02:00
2 changed files with 8 additions and 0 deletions

View file

@ -39,5 +39,9 @@
(testing "Filter map making"
(is (= query-map1-result (make-filters query-map1 f/known-filters)))))
(deftest filter-chod-posts-test
)
(deftest thread-to-rss-item-test
(testing ""))

View file

@ -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))