MeshLib
 
Loading...
Searching...
No Matches
TestMacros.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdio.h>
4#include <stdlib.h>
5
6#define TEST_ASSERT( ... ) \
7 if ( !( __VA_ARGS__ ) ) \
8 { \
9 fprintf( stderr, "%s: check failed: %s\n", __func__, ( #__VA_ARGS__ ) ); \
10 abort(); \
11 }