mirror of
https://github.com/sasjs/core.git
synced 2026-01-07 17:40:05 +00:00
feat: adding mddl_xx series of macros (and tests). Closes #166
This commit is contained in:
19
tests/ddl/mddl_dc_difftable.test.sas
Normal file
19
tests/ddl/mddl_dc_difftable.test.sas
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
@file
|
||||
@brief Difftable DDL test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_dc_difftable.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
|
||||
%mddl_dc_difftable(libds=WORK.DIFFTABLE)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.DIFFTABLE)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
18
tests/ddl/mddl_dc_filterdetail.test.sas
Normal file
18
tests/ddl/mddl_dc_filterdetail.test.sas
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
@file
|
||||
@brief Filtertable DDL test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_dc_filterdetail.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mddl_dc_filterdetail(libds=WORK.TEST)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.TEST)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
18
tests/ddl/mddl_dc_filtersummary.test.sas
Normal file
18
tests/ddl/mddl_dc_filtersummary.test.sas
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
@file
|
||||
@brief Filtersummary DDL test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_dc_filtersummary.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mddl_dc_filtersummary(libds=WORK.TEST)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.TEST)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
18
tests/ddl/mddl_dc_locktable.test.sas
Normal file
18
tests/ddl/mddl_dc_locktable.test.sas
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
@file
|
||||
@brief Locktable DDL test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_dc_locktable.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mddl_dc_locktable(libds=WORK.TEST)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.TEST)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
18
tests/ddl/mddl_dc_maxkeytable.test.sas
Normal file
18
tests/ddl/mddl_dc_maxkeytable.test.sas
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
@file
|
||||
@brief Maxkeytable DDL test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_dc_maxkeytable.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mddl_dc_maxkeytable(libds=WORK.TEST)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.TEST)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
18
tests/ddl/mddl_sas_cntlout.test.sas
Normal file
18
tests/ddl/mddl_sas_cntlout.test.sas
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
@file
|
||||
@brief mddl_sas_cntlout ddl test
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mddl_sas_cntlout.sas
|
||||
@li mf_existds.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mddl_sas_cntlout(libds=WORK.TEST)
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(%mf_existds(WORK.TEST)=1),
|
||||
desc=Checking table was created,
|
||||
outds=work.test_results
|
||||
)
|
||||
Reference in New Issue
Block a user