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