fortran_test_helper 1.0.0
A Fortran library to provide assistance to testing.
|
Asserts that two items are equal. More...
Asserts that two items are equal.
[in] | x | The first item. |
[in] | y | The second item. |
[in] | tol | An optional value, only for the floating-point types, that specifies the comparison tolerance. The default value is the square root of the machine epsilon. |
x
and y
are equivalent; else, returns false.[in] | x | The first item. |
[in] | y | The second item. |
[in] | tol | An optional value, only for the floating-point types, that specifies the comparison tolerance. The default value is the square root of the machine epsilon. |
[out] | flag | An optional 32-bit integer (int32) output that returns a value of -1 if x and y are different sizes; else, returns the index of the first non-equivalent items. |
x
and y
are equivalent; else, returns false.[in] | x | The first item. |
[in] | y | The second item. |
[in] | tol | An optional value, only for the floating-point types, that specifies the comparison tolerance. The default value is the square root of the machine epsilon. |
[out] | flag | An optional 32-bit integer (int32) output that returns a value of -1 if x and y are different sizes, returns the column-major index of the first value that is not equivalent, or returns zero in the event of equivalance. |
[out] | row | An optional 32-bit integer (int32) output that returns a the row index of the first non-equivalent value encountered; else, returns a value of zero for a successful test. |
[out] | col | An optional 32-bit integer (int32) output that returns a the column index of the first non-equivalent value encountered; else, returns a value of zero for a successful test. |
x
and y
are equivalent; else, returns false. Definition at line 80 of file fortran_test_helper.f90.