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.139 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.138 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.137 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.136 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.135 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.134 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.133 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.132 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.131 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.130 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.129 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.128 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.127 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.126 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.125 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.124 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.123 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.122 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.121 tracks/prolog/exercises/leap/leap_tests.plt
trackler-2.2.1.120 tracks/prolog/exercises/leap/leap_tests.plt