Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_islibds.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mf_islibds macro
4
5 %put %mf_islibds(work.something)=1;
6 %put %mf_islibds(nolib)=0;
7 %put %mf_islibds(badlibref.ds)=0;
8 %put %mf_islibds(w.t.f)=0;
9
10 <h4> SAS Macros </h4>
11 @li mf_islibds.sas
12 @li mp_assert.sas
13
14**/
15
16%mp_assert(
17 iftrue=(
18 %mf_islibds(work.something)=1
19 ),
20 desc=%str(Checking mf_islibds(work.something)=1),
21 outds=work.test_results
22)
23
24%mp_assert(
25 iftrue=(
26 %mf_islibds(nolib)=0
27 ),
28 desc=%str(Checking mf_islibds(nolib)=0),
29 outds=work.test_results
30)
31
32%mp_assert(
33 iftrue=(
34 %mf_islibds(badlibref.ds)=0
35 ),
36 desc=%str(Checking mf_islibds(badlibref.ds)=0),
37 outds=work.test_results
38)
39
40%mp_assert(
41 iftrue=(
42 %mf_islibds(w.t.f)=0
43 ),
44 desc=%str(Checking mf_islibds(w.t.f)=0),
45 outds=work.test_results
46)