Last active
April 28, 2018 10:06
-
-
Save alexanderjamesking/5e56bc34f8523f7c3cc6844bdd918fed to your computer and use it in GitHub Desktop.
Testing in Clojure
This file contains hidden or 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
(require '[clojure.test :refer [is]]) | |
(defn pure-adder [x y] | |
(+ x y)) | |
(is (= 3 (pure-adder 1 2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment