Skip to content

Commit

Permalink
Add test for of-years
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavOmprakash committed Oct 22, 2021
1 parent ab4ee52 commit 3f85a5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tick/api_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@
;; units.
(deftest period-functions-test
(is (= (t/of-days 10) (java.time.Period/ofDays 10)))
(is (= (t/of-months 10) (java.time.Period/ofMonths 10))))
(is (= (t/of-months 10) (java.time.Period/ofMonths 10)))
(is (= (t/of-years 10) (java.time.Period/ofYears 10))))


(deftest predicates-test
(is (true? (t/clock? (t/clock))))
Expand Down

0 comments on commit 3f85a5f

Please sign in to comment.