SQL-Unit  1.6
Functions
AssertIntegerBetween.ssunit.sql File Reference

The AssertIntegerBetween stored procedure. More...

Functions

int AssertIntegerBetween (int @lower, int @upper, int @actual)
 Asserts that the integer value is within the specified range.

Detailed Description

The AssertIntegerBetween stored procedure.

Author:
Chris Oldwood

Function Documentation

int AssertIntegerBetween ( int @  lower,
int @  upper,
int @  actual 
)

Asserts that the integer value is within the specified range.

Parameters:
lowerThe expected value lower bound.
upperThe expected value upper bound.
actualThe actual value.