Skip to content

Commit

Permalink
* some basic arithmetic cases
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Sep 26, 2023
1 parent d9c2b52 commit ec1e56f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/cljs/cljs/bigint_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@
(is (= (js/BigInt 1) 1))
(is (= 1 (js/BigInt 1))))
(testing "Interaction with core"
(is (= (range 1 5) (range 1 5N)))))
(is (= (range 1 5) (range 1 5N))))
(testing "Arithmetic"
(is (= 2 (+ 1 1N)))
(is (= 0.5 (/ 1N 2)))
(is (= 4N (* 2N 2)))))

(comment

Expand Down

0 comments on commit ec1e56f

Please sign in to comment.