Sha256: e39390f179df24ffef3d5bc70ed391f1b772fc4d2f73d0f93d7b46fa78701304
Contents?: true
Size: 509 Bytes
Versions: 307
Compression:
Stored size: 509 Bytes
Contents
using Base.Test include("gigasecond.jl") samples = Dict( DateTime("2011-04-25") => DateTime("2043-01-01T01:46:40"), DateTime("1977-06-13") => DateTime("2009-02-19T01:46:40"), DateTime("1959-07-19") => DateTime("1991-03-27T01:46:40"), DateTime("2015-01-24T22:00:00") => DateTime("2046-10-02T23:46:40"), DateTime("2015-01-24T23:59:59") => DateTime("2046-10-03T01:46:39") ) @testset "add gigasecond to $sample[1]" for sample in samples @test add_gigasecond(sample[1]) == sample[2] end
Version data entries
307 entries across 307 versions & 1 rubygems