Last active
September 13, 2019 12:05
-
-
Save DeLaGuardo/55ae4be5a932cf32b0f1e828e5109bb6 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
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}} | |
:paths ["."]} |
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 tests | |
(:require [clojure.test :refer [are]])) | |
(defn foo | |
{:test #(are [x y z] (= x (foo y z)) 2 1 1 4 2 3)} | |
[x y] | |
(+ x y)) |
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 user | |
(:require [tests] | |
[clojure.test :refer [test-ns]])) | |
(test-ns 'tests) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment