Sha256: a2f3f6b22a837dfe2d51f43d9557e71677fb0e8ea8853d56a0b32577c5589692
Contents?: true
Size: 395 Bytes
Versions: 6
Compression:
Stored size: 395 Bytes
Contents
describe :date_new_bang, :shared => true do it "returns a new Date object set to Astronomical Julian Day 0 if no arguments passed" do d = Date.send(@method) d.ajd.should == 0 end it "accepts astronomical julian day number, offset as a fraction of a day and returns a new Date object" do d = Date.send(@method, 10, 0.5) d.ajd.should == 10 d.jd.should == 11 end end
Version data entries
6 entries across 6 versions & 1 rubygems