diff options
author | Rich Hickey <richhickey@gmail.com> | 2010-06-15 10:52:23 -0400 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2010-06-15 10:52:23 -0400 |
commit | aaa2f33f451953de58ade056bda5c8e40d5b6459 (patch) | |
tree | d9f406ef54cffbbcb5a15dcc7121c6f2ffcbf41d | |
parent | 6b9a8b5e6f5cbb839fdfc87f8328b568a99453c3 (diff) |
move tests into range of long
-rw-r--r-- | src/test/clojure/clojure/contrib/test_math.clj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/clojure/clojure/contrib/test_math.clj b/src/test/clojure/clojure/contrib/test_math.clj index d7c6eaea..3b2f4e8a 100644 --- a/src/test/clojure/clojure/contrib/test_math.clj +++ b/src/test/clojure/clojure/contrib/test_math.clj @@ -5,7 +5,7 @@ (deftest test-expt
(are [x y] (= x y) (expt 2 3) 8
- (expt (expt 2 32) 2) (expt 2 64)
+ (expt (expt 2 16) 2) (expt 2 32)
(expt 4/3 2) 16/9
(expt 2 -10) 1/1024
(expt 0.5M 2) 0.25M
@@ -114,5 +114,5 @@ (deftest test-exact-integer-sqrt
(are [x y] (= x y) (exact-integer-sqrt 15) [3 6]
- (exact-integer-sqrt (inc (expt 2 64))) [(expt 2 32) 1]
+ (exact-integer-sqrt (inc (expt 2 32))) [(expt 2 16) 1]
(exact-integer-sqrt 1000000000000) [1000000 0]))
|