Estimated hours taken: 0.25
tests/hard_coded/pragma_inline.m:
Remove cast to (char *) which is now unnecessary,
and rename `String' variable to avoid name clash.
Estimated hours taken: 0.25
tests/hard_coded/pragma_c_code.m:
Fix bug detected by singleton variable warning.
Work around name clash between variable name in
pragma(c_code, ...) declaration and type defined
in "imp.h".
Estimated hours taken: 1
Made the testing of the C interface a little more robust, and added tests of
the pragma(inline, ...) declaration.
pragma_c_code.m:
Made the tests a little more rigorous.
pragma_c_code.exp:
Changed the expected results to reflect changes to the .m file.
pragma_inline.m:
Simple test of inlining:
pragma_inline.exp:
Expected results for the inlining test.
Estimated hours taken: 0.1
tests/hard_coded/pragma_c_code.exp
Add the expected output for the pragma_c_code test.
(I forgot to add this in my last change, because `*.exp'
was in my ~/.cvsignore file, so it didn't show up.)
tests/hard_coded/:
A directory for tests that will not run under NU-prolog. The
expected outcome (`*.exp') files are hand written, and compared
with output from the modules.
qual_*_test.m:
Tests to ensure module qualification of predicates works correctly.
qual_adv_test.m also tests that module names are used correctly to
distinguish between predicates with similar/same names.
qual_*_test.exp:
Expected output of above tests.