Skip to content

Instantly share code, notes, and snippets.

View mrc's full-sized avatar

Matt Curtis mrc

  • Melbourne
View GitHub Profile
@mrc
mrc / xxx
Created November 13, 2010 01:48
(defproject com.wombat.web/gaeproject "1.0.0-SNAPSHOT"
:description "gaeproject information retrieval"
:gae-app com.wombat.web.gaeproject.core/app
:dev-dependencies [[leiningen/lein-swank "1.2.0-SNAPSHOT"]
[uk.org.alienscience/leiningen-war "0.0.2"]]
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0"]
[ring/ring "0.2.0"]
[com.google/appengine-api-1.0-sdk "1.3.3.1"]
[com.google/appengine-api-labs "1.3.3.1"]
(defmacro are (test &rest tests)
"Evaluate a list of tests with (is)"
`(progn
(is ,test)
(unless (null ',tests)
(are ,@tests))))
(deftest test-mult ()
(is (= 1 (multiply 1 1)))
(is (= 6 (multiply:multiply 2 3)))