Minetest  5.4.0
test_settings.cpp File Reference
#include "test.h"
#include <cmath>
#include "settings.h"
#include "defaultsettings.h"
#include "noise.h"
+ Include dependency graph for test_settings.cpp:

Classes

class  TestSettings
 

Functions

void compare_settings (const std::string &name, Settings *a, Settings *b)
 

Variables

static TestSettings g_test_instance
 

Function Documentation

◆ compare_settings()

void compare_settings ( const std::string &  name,
Settings a,
Settings b 
)

References Settings::get(), Settings::getGroupNoEx(), Settings::getNames(), Settings::getNoEx(), UASSERT, and UASSERTCMP.

Referenced by TestSettings::testAllSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ g_test_instance

TestSettings g_test_instance
static