/* $Id$ */ /* scan test header This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ #include #include #define CHECK_TRUE( a ) TESTCASE( a != 0 ) #define CHECK_FALSE( a ) TESTCASE( a == 0 ) #define CHECK_EQUAL( a, b ) do { int x = a; int y = b; TESTCASE( x == y ); } while ( 0 ) #define CHECK_FEQUAL( a, b, T, F ) do { T x = a; T y = b; TESTCASE( x == y ); } while ( 0 )