Sha256: d98a591b409311d20361c4d5f60aee404f9ea4bcd11347962df692ef47a315b8

Contents?: true

Size: 611 Bytes

Versions: 116

Compression:

Stored size: 611 Bytes

Contents

-module(leap_tests).

% This file is automatically generated from the exercises canonical data.

-include_lib("erl_exercism/include/exercism.hrl").
-include_lib("eunit/include/eunit.hrl").


year_not_divisible_by_4_common_year_test() ->
    ?assertNot(leap:leap_year(2015)).

year_divisible_by_4_not_divisible_by_100_leap_year_test() ->
    ?assert(leap:leap_year(2020)).

year_divisible_by_100_not_divisible_by_400_common_year_test() ->
    ?assertNot(leap:leap_year(2100)).

year_divisible_by_400_leap_year_test() ->
    ?assert(leap:leap_year(2000)).

version_test() -> ?assertMatch(3, leap:test_version()).

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.158 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.157 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.156 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.155 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.154 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.153 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.152 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.151 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.150 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.149 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.148 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.147 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.146 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.145 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.144 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.143 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.142 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.141 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.140 tracks/erlang/exercises/leap/test/leap_tests.erl