Sha256: c0fb8a4e68c908e51c94d5788e68549d176e5b6ace84fd78be0aba85f90412ea
Contents?: true
Size: 497 Bytes
Versions: 396
Compression:
Stored size: 497 Bytes
Contents
(ns gigasecond-test (:require [clojure.test :refer [deftest is]] gigasecond)) (deftest from-apr-25-2011 (is (= [2043 1 1] (gigasecond/from 2011 4 25)))) (deftest from-jun-13-1977 (is (= [2009 2 19] (gigasecond/from 1977 6 13)))) (deftest from-jul-19-1959 (is (= [1991 3 27] (gigasecond/from 1959 7 19)))) ;; customize this to test your birthday and find your gigasecond date: ;; (deftest your-birthday ;; (is (= [year2 month2 day2] (gigasecond/from year1 month1 day1))))
Version data entries
396 entries across 396 versions & 1 rubygems