(let [cases [{:in [1 2 3] :out [2 4 6]} ;; ... ]] (doseq [{:keys [in out]} cases] (is (= out (test-fn in)))))
(let [cases [{:in [1 2 3] :out [2 4 6]} ;; ... ]] (map (fn [{:keys [in out]}] `(is (= ~out (test-fn ~in)))) cases))