mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 21:03:53 +00:00
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.
14 lines
275 B
Mathematica
14 lines
275 B
Mathematica
:- module qual_basic_test.
|
|
|
|
% A test to ensure a qualified predicate is parsed correctly.
|
|
|
|
:- interface.
|
|
|
|
:- import_module io.
|
|
|
|
:- pred qual_basic_test:main(io__state::di, io__state::uo) is det.
|
|
|
|
:- implementation.
|
|
|
|
qual_basic_test:main --> io:io__write_string("Gotcha!\n").
|