some tests
This commit is contained in:
18
regression/modules/meta.yap
Normal file
18
regression/modules/meta.yap
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
% :- library(test).
|
||||
|
||||
%:- multifile ytest:test/4.
|
||||
|
||||
:- source.
|
||||
|
||||
:- [library(ytest)].
|
||||
:- [library(ytest/preds)].
|
||||
|
||||
meta_expand(InputCl, C1) :-
|
||||
source_module(SM),
|
||||
'$yap_strip_module'(SM:InputCl, M, ICl),
|
||||
'$expand_a_clause'( M:ICl, SM, C1, _CO).
|
||||
|
||||
:- [meta_tests].
|
||||
|
||||
:- run_tests.
|
Reference in New Issue
Block a user