xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_positive() [2/4]

template<typename value_t >
static void xtd::tunit::valid::is_positive ( const value_t &  value,
const xtd::diagnostics::stack_frame stack_frame 
)
inlinestatic

Validates that ta condition is positive.

Parameters
valueThe value to check is positive.
stack_frameContains information about current file and current line.
Examples
int i1 = 1;
int i2 = -1;
static void is_positive(const value_t &value)
Validates that ta condition is positive.
Definition valid.h:2077
#define csf_
Provides information about the current stack frame.
Definition current_stack_frame.h:30