Permalink
Browse files

Test bounds were too tight

  • Loading branch information...
1 parent 4c68c92 commit 401dd8e89f83138fd2001d757101efeaf747f26b @ashenfad ashenfad committed Feb 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/histogram/test/core.clj
@@ -28,7 +28,7 @@
(let [points 10000]
(is (about= (sum (reduce insert! (create) (normal-data points)) 0)
(/ points 2)
- (/ points 100)))))
+ (/ points 50)))))
(deftest median-test
(let [points 10000]
@@ -48,7 +48,7 @@
merged-hist (reduce merge! hists)]
(is (about= (sum merged-hist 0)
(/ (* points hist-count) 2)
- (/ (* points hist-count) 100)))))
+ (/ (* points hist-count) 50)))))
(deftest mixed-test
(let [insert-pair #(apply insert! (apply insert! (create) %1) %2)

0 comments on commit 401dd8e

Please sign in to comment.