Source

clojure-geohash / test / geohash / test / core.clj

Diff from to

File test/geohash/test/core.clj

   (:use [clojure.test]))
 
 (deftest test-encode 
-  (is (= "ww8p1r4t8" (encode 37.8324 112.5584 9))))
+  (is (= "ww8p1r4t8" (encode 37.8324 112.5584)))
+  (is (= "wtsnstbgzys5" (encode 32.112343 118.324122 12))))
 
 (deftest test-decode
   (let [geodata (decode "ww8p1r4t8")]