Mercurial > lasercutter
diff src/clojure/contrib/test_contrib/test_profile.clj @ 10:ef7dbbd6452c
added clojure source goodness
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Aug 2010 06:25:44 -0400 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/clojure/contrib/test_contrib/test_profile.clj Sat Aug 21 06:25:44 2010 -0400 1.3 @@ -0,0 +1,8 @@ 1.4 +(ns clojure.contrib.test-profile 1.5 + (:use clojure.test 1.6 + clojure.contrib.profile)) 1.7 + 1.8 +(deftest test-print-summary 1.9 + (testing "doesn't blow up with no data (assembla #31)" 1.10 + (is (= "Name mean min max count sum\n" 1.11 + (with-out-str (print-summary {}))))))