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.180 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.179 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.178 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.177 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.176 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.175 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.174 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.173 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.172 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.171 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.170 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.169 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.167 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.166 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.165 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.164 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.163 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.162 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.161 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.160 tracks/erlang/exercises/leap/test/leap_tests.erl