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.119 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.118 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.117 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.116 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.115 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.114 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.113 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.111 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.110 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.109 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.108 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.107 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.106 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.105 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.104 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.103 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.102 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.101 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.100 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.99 tracks/erlang/exercises/leap/test/leap_tests.erl