view 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 source
1 (ns clojure.contrib.test-profile
2 (:use clojure.test
3 clojure.contrib.profile))
5 (deftest test-print-summary
6 (testing "doesn't blow up with no data (assembla #31)"
7 (is (= "Name mean min max count sum\n"
8 (with-out-str (print-summary {}))))))