60 lines
719 B
Plaintext
Executable File
60 lines
719 B
Plaintext
Executable File
\section NAME
|
|
LIBEROR_TEST - error checks for testcases
|
|
\break
|
|
|
|
\section SYNOPSIS
|
|
\bold-on
|
|
#define LIBERROR_TEST(
|
|
\bold-off
|
|
\italics-on
|
|
expression
|
|
\italics-off
|
|
\bold-on
|
|
,
|
|
\space
|
|
\bold-off
|
|
\italics-on
|
|
message
|
|
\italocs-off
|
|
\bold-on
|
|
);
|
|
\bold-off
|
|
|
|
\break
|
|
|
|
\section DESCRIPTION
|
|
The LIBERROR_TEST macro is a wrapper over
|
|
\bold-on
|
|
LIBERROR_ASSERT
|
|
\bold-off
|
|
(cware).
|
|
\break
|
|
It takes in an expression to test, and the message to display on the
|
|
\break
|
|
testcase failing. It follows the same semantics as defined in
|
|
\break
|
|
\bold-on
|
|
LIBERROR_ASSERT
|
|
\bold-off
|
|
(cware).
|
|
|
|
\break
|
|
|
|
\break
|
|
|
|
\section SEE ALSO
|
|
\bold-on
|
|
cware
|
|
\bold-off
|
|
(cware),
|
|
\space
|
|
\bold-on
|
|
liberror
|
|
\bold-off
|
|
(cware),
|
|
\space
|
|
\bold-on
|
|
LIBERROR_ASSERT
|
|
\bold-off
|
|
(cware)
|