(ns useful.java-test
  (:use clojure.test useful.java))

(deftest test-rescue
  (is (= nil (rescue (/ 9 0) nil)))
  (is (= 3   (rescue (/ 9 3) nil))))

(ns useful.java-test
  (:use clojure.test useful.java))

(deftest test-rescue
  (is (= nil (rescue (/ 9 0) nil)))
  (is (= 3   (rescue (/ 9 3) nil))))

(deftest test-construct
  (is (= "test" (construct String "test"))))
Add a test for construct.
Add a test for construct.

amalloy/useful,flatland/useful,jafingerhut/useful