#include <nn/assert.h> #define NN_MINMAX_ASSERT(exp,min,max)
| Name | Description | |
|---|---|---|
| in | exp |
Value to be tested. |
| in | min |
Minimum value |
| in | max |
Maximum value |
Tests whether a value is within the specified range.
Stops program execution if exp is less than min or greater than max.
For common specifications of assert-type macros, see NN_ASSERT.
CONFIDENTIAL