#include "nodedef.h"
#include "content_mapnode.h"
-class TestMapNode : public TestBase {
+class TestMapNode : public TestBase
+{
public:
TestMapNode() { TestManager::registerTestModule(this); }
const char *getName() { return "TestMapNode"; }
void runTests(IGameDef *gamedef);
- void testNodeProperties(INodeDefManager *nodedef);
+ void testNodeProperties(const NodeDefManager *nodedef);
};
static TestMapNode g_test_instance;
////////////////////////////////////////////////////////////////////////////////
-void TestMapNode::testNodeProperties(INodeDefManager *nodedef)
+void TestMapNode::testNodeProperties(const NodeDefManager *nodedef)
{
MapNode n(CONTENT_AIR);