Sha256: e70722d01b10b1d2f06a3f3140b3dd8b59f2d09776b81cd7f62172fc949c96c0
Contents?: true
Size: 943 Bytes
Versions: 180
Compression:
Stored size: 943 Bytes
Contents
% Please visit http://exercism.io/languages/prolog/installing % for instructions on setting up prolog. % Visit http://exercism.io/languages/prolog/tests % for help running the tests for prolog exercises. % The goal below allows tests to be skipped % unless the "--all" flag is passed at % the command line. pending :- current_prolog_flag(argv, ['--all'|_]). pending :- write('\nA TEST IS PENDING!\n'), fail. :- begin_tests(hello_word). test(hello_world, condition(true)) :- hello_world('Hello World!'). % Once the first test passes, un-skip the following test by % changing `pending` in `condition(pedning)` to `true`. % Repeat for each test until they are all passing. test(hello_world_with_a_name, condition(pending)) :- hello_world('Alice', 'Hello Alice!'). test(hello_world_another_name, condition(pending)) :- hello_world('Bob', 'Hello Bob!'). :- end_tests(hello_word).
Version data entries
180 entries across 180 versions & 1 rubygems