Sha256: 8bdd590bc2890c46daa44566906aa56d6d07d4d7a8c8e55374b555bb6b9e5d61

Contents?: true

Size: 381 Bytes

Versions: 186

Compression:

Stored size: 381 Bytes

Contents

-module(leap_tests).

-define(TESTED_MODULE, (sut(leap))).
-define(TEST_VERSION, 1).
-include("exercism.hrl").


leap_year_test() ->
  ?assert(?TESTED_MODULE:leap_year(1996)).

non_leap_year_test() ->
  ?assertNot(?TESTED_MODULE:leap_year(1997)).

century_test() ->
  ?assertNot(?TESTED_MODULE:leap_year(1900)).

fourth_century_test() ->
  ?assert(?TESTED_MODULE:leap_year(2400)).

Version data entries

186 entries across 186 versions & 1 rubygems

Version Path
trackler-2.2.1.54 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.53 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.52 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.51 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.50 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.49 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.48 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.47 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.46 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.45 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.44 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.43 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.42 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.41 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.40 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.39 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.38 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.37 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.36 tracks/erlang/exercises/leap/test/leap_tests.erl
trackler-2.2.1.35 tracks/erlang/exercises/leap/test/leap_tests.erl