Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_existfunction.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mf_existfunction macro
4
5 <h4> SAS Macros </h4>
6 @li mf_existfunction.sas
7 @li mp_assert.sas
8
9**/
10
11%mp_assert(
12 iftrue=(%mf_existfunction(CAT)=1),
13 desc=Checking if CAT function exists,
14 outds=work.test_results
15)
16
17%mp_assert(
18 iftrue=(%mf_existfunction(DOG)=0),
19 desc=Checking DOG function does not exist,
20 outds=work.test_results
21)
22