1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 07:40:04 +00:00
Files
core/tests/crossplatform/mf_existfunction.test.sas
2021-08-18 23:36:12 +03:00

23 lines
371 B
SAS

/**
@file
@brief Testing mf_existfunction macro
<h4> SAS Macros </h4>
@li mf_existfunction.sas
@li mp_assert.sas
**/
%mp_assert(
iftrue=(%mf_existfunction(CAT)=1),
desc=Checking if CAT function exists,
outds=work.test_results
)
%mp_assert(
iftrue=(%mf_existfunction(DOG)=0),
desc=Checking DOG function does not exist,
outds=work.test_results
)