🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.software.testing
Article #12

Re: Q: assertions before and after testing

#12
From: A. van Kessel
Date: Fri, 08 Sep 1995 10:07
9 lines
891 bytes
Take a look at assert.h : assert is a macro with one argument
Just replace the #include <assert.h> by a
dummy definition like:
#define assert(_1) /* _1 */
You can even roll your own assert (make it conditional on
a #defined DEBUG_LEVEL or so)

LotzofLuck,
Adriaan van Kessel.
Technical Details
Message-ID: <DEL047.BCD@rivm.nl>
Path: arc1-ca.pugleaf.net!EU.net!sun4nl!rivm!news
References: <42o1ns$qdk@itchy.adacel.com.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.software.testing,comp.lang.c
Path: arc1-ca.pugleaf.net!EU.net!sun4nl!rivm!news
From: "A. van Kessel" <imaavk>
Subject: Re: Q: assertions before and after testing
Content-Type: text/plain; charset=us-ascii
Message-ID: <DEL047.BCD@rivm.nl>
To: owen@itchy.adacel.com.au
Sender: news@rivm.nl
Content-Transfer-Encoding: 7bit
Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene, Bilthoven, NL
References: <42o1ns$qdk@itchy.adacel.com.au>
Mime-Version: 1.0
Date: Fri, 8 Sep 1995 10:07:19 GMT
X-Mailer: Mozilla 1.1N (X11; I; OSF1 V3.0 alpha)
X-Url: news:42o1ns$qdk@itchy.adacel.com.au