PX4 Firmware
PX4 Autopilot Software http://px4.io
test_macros.hpp File Reference
#include <cstdio>
#include <cmath>
Include dependency graph for test_macros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TEST(X)   if(!(X)) { fprintf(stderr, "test failed on %s:%d\n", __FILE__, __LINE__); return -1;}
 

Macro Definition Documentation

◆ TEST

#define TEST (   X)    if(!(X)) { fprintf(stderr, "test failed on %s:%d\n", __FILE__, __LINE__); return -1;}

Definition at line 14 of file test_macros.hpp.

Referenced by main(), test_4x3(), test_4x4(), and test_div_zero().