Skip to content

Instantly share code, notes, and snippets.

@DeLaGuardo
Last active September 13, 2019 12:05
Show Gist options
  • Save DeLaGuardo/55ae4be5a932cf32b0f1e828e5109bb6 to your computer and use it in GitHub Desktop.
Save DeLaGuardo/55ae4be5a932cf32b0f1e828e5109bb6 to your computer and use it in GitHub Desktop.
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}}
:paths ["."]}
(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))
(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