Created
April 11, 2022 05:51
-
-
Save viebel/885249078030ccdf1729e3459bd2905c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns foo.me | |
(:require [clojure.test :refer [deftest is are run-tests]])) | |
(defn me [x] | |
(+ x 2)) | |
(deftest test-me | |
(is (= 4 (me 2)))) | |
(deftest test-multiple-me | |
(are [in out] (= out (me in)) | |
2 4 | |
3 90)) | |
(run-tests) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment