Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
haserl
minunit.h
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minunit.h of Package haserl
/* minunit.h - As taken from http://www.jera.com/techinfo/jtns/jtn002.html * * Author: John Brewer * Licence: You may use the code in this tech note for any purpose, with * the understanding that it comes with NO WARRANTY. */ #ifndef MINUNIT_H #define MINUNIT_H (1) //---------------------------------------------- //-- Headers //---------------------------------------------- //-- //---------------------------------------------- //-- Constants //---------------------------------------------- //-- //---------------------------------------------- //-- Macros #define mu_assert(message, test) do { if (!(test)) return message; } while (0) #define mu_run_test(test) do { char *message = test(); tests_run++; \ if (message) return message; } while (0) //---------------------------------------------- //-- //---------------------------------------------- //-- Typedefs //---------------------------------------------- //-- //---------------------------------------------- //-- Public variables extern int tests_run; //---------------------------------------------- //-- //---------------------------------------------- //-- Prototypes //---------------------------------------------- //-- #endif /* MINUNIT_H */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor