aboutsummaryrefslogtreecommitdiffstats
path: root/test/date
diff options
context:
space:
mode:
Diffstat (limited to 'test/date')
-rw-r--r--test/date/test_date_base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/date/test_date_base.rb b/test/date/test_date_base.rb
index a266058413..912c45cca3 100644
--- a/test/date/test_date_base.rb
+++ b/test/date/test_date_base.rb
@@ -193,6 +193,10 @@ class TestDateBase < Test::Unit::TestCase
end
end
+ def test_jd
+ assert_equal(1<<33, Date.jd(1<<33))
+ end
+
def test_mjd
jd = Date.__send__(:mjd_to_jd, 51321)
mjd = Date.__send__(:jd_to_mjd, jd)