Skip to content

Commit

Permalink
Move stuff to booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilmari Vacklin committed May 20, 2012
1 parent 817370c commit eb1b5af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
6 changes: 0 additions & 6 deletions src/training_day.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
(defn square [x]
":(")

(defn fizzbuzz [n]
":(")

(defn abs [x]
":(")

(defn average [a b]
":(")

Expand Down
9 changes: 0 additions & 9 deletions test/training_day_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
(square 2) => 4
(square 3) => 9)

(facts "abs"
(abs -2) => 2
(abs 42) => 42)

(facts "fizzbuzz"
(fizzbuzz 45) => "gotcha!"
(fizzbuzz 48) => "fizz"
(fizzbuzz 70) => "buzz")

(facts "average"
(average 2 4) => 3
(average 1 2) => 3/2)

0 comments on commit eb1b5af

Please sign in to comment.