Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_dedup.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mf_dedup macro
4
5 <h4> SAS Macros </h4>
6 @li mf_dedup.sas
7 @li mp_assert.sas
8
9**/
10
11%let str=One two one two and through and through;
12
13%mp_assert(
14 iftrue=("%mf_dedup(&str)"="One two one and through"),
15 desc=Basic test,
16 outds=work.test_results
17)
18
19%mp_assert(
20 iftrue=("%mf_dedup(&str,outdlm=%str(,))"="One,two,one,and,through"),
21 desc=Outdlm test,
22 outds=work.test_results
23)