Sha256: c6617d63b9cb57ddb5aa9ae3f3ca2c09876a457571dd848774c7ce173b87b338
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
# -*- coding: utf-8 -*- =begin Copyright (C) 2014 Takashi SUGA You may use and/or modify this file according to the license described in the LICENSE.txt file included in this archive. =end module MiniTest class Discordian < MiniTest::TestCase def test_discordian date = When.when? '2001.1.1' 400.times do |i| assert_equal([2001+i+1166,1,1], (When::Discordian ^ date).cal_date) date += When::P1Y end end end end
Version data entries
5 entries across 5 versions & 1 rubygems