Sha256: fa22e1878c08eb2798b17e8c966b11e00ba213d7721e8068b8734ff266ea1c93
Contents?: true
Size: 422 Bytes
Versions: 311
Compression:
Stored size: 422 Bytes
Contents
using Base.Test include("leap.jl") @testset "Year not divisible by 4: common year" begin @test !is_leap_year(2015) end @testset "Year divisible by 4, not divisible by 100: leap year" begin @test is_leap_year(2016) end @testset "Year divisible by 100, not divisible by 400: common year" begin @test !is_leap_year(2100) end @testset "Year divisible by 400: leap year" begin @test is_leap_year(2000) end
Version data entries
311 entries across 311 versions & 1 rubygems