1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-08 18:00:06 +00:00

feat: mf_dttm macro and associated test

This commit is contained in:
Allan Bowe
2022-05-07 17:45:36 +00:00
parent 1096db0846
commit bf7459bd2d
2 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/**
@file
@brief Testing mf_dttm macro
<h4> SAS Macros </h4>
@li mf_dttm.sas
@li mp_assert.sas
@li mp_assertscope.sas
**/
%global test1;
%mp_assertscope(SNAPSHOT)
%let test1=%mf_dttm();
%mp_assertscope(COMPARE,ignorelist=test1)
%mp_assert(
iftrue=("&test1"="DATETIME19.3" or "&test1"="E8601DT26.6"),
desc=Basic test,
outds=work.test_results
)