Sha256: d0e0e0120954bbd8f72f18550ab2237f88631bf4a21e58499acbd40a58934c94

Contents?: true

Size: 706 Bytes

Versions: 379

Compression:

Stored size: 706 Bytes

Contents

pending :-
    current_prolog_flag(argv, ['--all'|_]).
pending :-
    write('\nA TEST IS PENDING!\n'),
    fail.

:- begin_tests(leap_tests).

    test(leap_year, condition(true)) :-
        leap(1996).

    test(standard_and_odd_year, condition(pending)) :-
        not(leap(1997)).

    test(standard_even_year, condition(pending)) :-
        not(leap(1998)).

    test(standard_nineteeth_century, condition(pending)) :-
        not(leap(1900)).

    test(standard_eighteenth_century, condition(pending)) :-
        not(leap(1800)).

    test(leap_twenty_fourth_century, condition(pending)) :-
        leap(2400).

    test(leap_y2k, condition(pending)) :-
        leap(2000).

:- end_tests(leap_tests).

Version data entries

379 entries across 379 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.179 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.178 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.177 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.176 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.175 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.174 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.173 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.172 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.171 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.170 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.169 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.167 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.166 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.165 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.164 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.163 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.162 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.161 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.160 tracks/prolog/exercises/leap/leap_tests.plt