NAME
ASSERT_IS_POSITIVE_INT - (MACRO) Calls kjb_abort if argument is argument is not postive
SYNOPSIS
#include "l/l_sys_debug.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
void ASSERT_IS_POSITIVE_INT(int integer_expression);
DESCRIPTION
This macro only does something in development code. In production code (i.e.
code compiled without -DTEST, this macro evaluates to null.
If the argument integer_expression is not positive, then this macro prints
the assertion, together with the file and line number, on standard error. It
then calls kjb_abort.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
dbw
,
dbr
,
dbp
,
dbx
,
dbo
,
dbi
,
dbj
,
dbu
,
dbf
,
dbe
,
dbc
,
dbnc
,
dbs
,
dbm
,
db_irv
,
db_icv
,
file_db_icv
,
dbi_mat
,
file_dbi_mat
,
dbw_no_kjb
,
dbr_no_kjb
,
dbp_no_kjb
,
dbx_no_kjb
,
dbo_no_kjb
,
dbi_no_kjb
,
dbf_no_kjb
,
dbe_no_kjb
,
dbc_no_kjb
,
dbnc_no_kjb
,
dbs_no_kjb
,
dbm_no_kjb
,
ASSERT
,
ASSERT
,
ASSERT_IS_NOT_EQUAL_INT
,
ASSERT_IS_GREATER_INT
,
ASSERT_IS_LESS_INT
,
ASSERT
,
ASSERT
,
ASSERT_IS_NUMBER_DBL
,
ASSERT_IS_FINITE_DBL
,
ASSERT_IS_NON_NEGATIVE_DBL
,
ASSERT_IS_ZERO_DBL
,
ASSERT_IS_NOT_ZERO_DBL
,
ASSERT_IS_POSITIVE_DBL
,
ASSERT_IS_PROB_DBL
,
ASSERT_IS_EQUAL_DBL
,
ASSERT
,
ASSERT
,
ASSERT_IS_GREATER_DBL
,
ASSERT_IS_LESS_DBL
,
ASSERT_IS_NOT_GREATER_DBL
,
ASSERT_IS_NOT_LESS_DBL