SQL-Unit  1.6
Functions
FormatIntegerCompareFailure.ssunit_impl.sql File Reference

The FormatIntegerCompareFailure user-defined function. More...

Functions

ssunit::TextMessage FormatIntegerCompareFailure (TextMessage @error, int @expected, int @actual)
 Formats the message for a failed comparison between two integers.

Detailed Description

The FormatIntegerCompareFailure user-defined function.

Author:
Chris Oldwood

Function Documentation

ssunit::TextMessage FormatIntegerCompareFailure ( TextMessage error,
int @  expected,
int @  actual 
)

Formats the message for a failed comparison between two integers.

Parameters:
errorThe short error message.
expectedThe expected value.
actualThe actual value.