|
MeshLib Documentation
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
24#define TEST( a, b ) [[maybe_unused]] static void a##b()
25#define ASSERT_EQ( a, b ) (void)( a == b );
26#define EXPECT_EQ( a, b ) (void)( a == b );
27#define ASSERT_NE( a, b ) (void)( a != b );
28#define EXPECT_NE( a, b ) (void)( a != b );
29#define ASSERT_LE( a, b ) (void)( a <= b );
30#define EXPECT_LE( a, b ) (void)( a <= b );
31#define ASSERT_GE( a, b ) (void)( a >= b );
32#define EXPECT_GE( a, b ) (void)( a >= b );
33#define ASSERT_GT( a, b ) (void)( a > b );
34#define EXPECT_GT( a, b ) (void)( a > b );
35#define ASSERT_TRUE( a ) (void)( a );
36#define EXPECT_TRUE( a ) (void)( a );
37#define ASSERT_FALSE( a ) (void)( !(a) );
38#define EXPECT_FALSE( a ) (void)( !(a) );
39#define ASSERT_NEAR( a, b, e ) (void)( ( a - b ) <= e );
40#define EXPECT_NEAR( a, b, e ) (void)( ( a - b ) <= e );
44#include <gtest/gtest.h>