-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ilmari Vacklin
committed
May 20, 2012
0 parents
commit a927e69
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/target | ||
/lib | ||
/classes | ||
/checkouts | ||
pom.xml | ||
*.jar | ||
*.class | ||
.lein-deps-sum | ||
.lein-failures | ||
.lein-plugins |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# i-am-a-horse-in-the-land-of-booleans | ||
|
||
I'm an app. Or maybe I'm a library? I haven't decided yet. | ||
|
||
The choice is up to you! | ||
|
||
## Usage | ||
|
||
FIXME | ||
|
||
## License | ||
|
||
Copyright © 2012 FIXME | ||
|
||
Distributed under the Eclipse Public License, the same as Clojure. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(defproject i-am-a-horse-in-the-land-of-booleans "0.1.0-SNAPSHOT" | ||
:dependencies [[org.clojure/clojure "1.4.0"] | ||
[midje "1.4.0"]] | ||
:profiles {:dev | ||
{:dependencies | ||
[[midje "1.4.0"] | ||
[com.stuartsierra/lazytest "1.2.3"]]}}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(ns i-am-a-horse-in-the-land-of-booleans) | ||
|
||
(defn fizzbuzz [n] | ||
":(") | ||
|
||
(defn abs [x] | ||
":(") | ||
|
||
|
||
; '_______' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(ns i-am-a-horse-in-the-land-of-booleans-test | ||
(:use [i-am-a-horse-in-the-land-of-booleans-test | ||
midje.sweet])) | ||
|
||
(facts "abs" | ||
(abs -2) => 2 | ||
(abs 42) => 42) | ||
|
||
(facts "fizzbuzz" | ||
(fizzbuzz 45) => "gotcha!" | ||
(fizzbuzz 48) => "fizz" | ||
(fizzbuzz 70) => "buzz") |