Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
test_irrptr.cpp File Reference
#include "test.h"
#include "exceptions.h"
#include "irr_ptr.h"
+ Include dependency graph for test_irrptr.cpp:

Classes

class  TestIrrPtr
 

Macros

#define UASSERT_REFERENCE_COUNT(object, value, info)
 

Variables

static TestIrrPtr g_test_instance
 

Macro Definition Documentation

◆ UASSERT_REFERENCE_COUNT

#define UASSERT_REFERENCE_COUNT (   object,
  value,
  info 
)
Value:
UTEST((object)->getReferenceCount() == value, \
info "Reference count is %d instead of " #value, \
(object)->getReferenceCount())
#define UTEST(x, fmt,...)
Definition: test.h:56

Variable Documentation

◆ g_test_instance

TestIrrPtr g_test_instance
static