SASUnit Examples  Version 1.5.0
assertequals.sas File Reference

Check whether there are differences between the value of a macro variable and an expected value. More...

Go to the source code of this file.

Detailed Description

Check whether there are differences between the value of a macro variable and an expected value.

The values can be character string or numerical.
Optionally one can define a deviation for numerical values so that the values can be deviating from each other less than a maximal deviation of i_fuzz.

Version
$Revision: 316 $
Author
$Author: akirchmann $
Date
$Date: 2014-03-02 10:20:58 +0100 (So, 02 Mrz 2014) $
See Also
For further information please refer to SASUnit User's Guide Here you can find the SASUnit documentation, release notes and license information.
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/assertequals.sas $
Parameters
i_expectedexpected value
i_actualactual value
i_descdescription of the assertion to be checked
default: "Compare Values"
i_fuzzoptional: maximal deviation of expected and actual values, only for numerical values

Definition in file assertequals.sas.