MeshLib Documentation
Loading...
Searching...
No Matches
TestMacros.h File Reference
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define TEST_ASSERT(...)   if ( !( __VA_ARGS__ ) ) { fprintf( stderr, "%s:%d: check failed: %s\n", __func__, __LINE__, ( #__VA_ARGS__ ) ); abort(); }
 

Macro Definition Documentation

◆ TEST_ASSERT

#define TEST_ASSERT ( ...)    if ( !( __VA_ARGS__ ) ) { fprintf( stderr, "%s:%d: check failed: %s\n", __func__, __LINE__, ( #__VA_ARGS__ ) ); abort(); }