aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/test_shader_1
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2013-05-01 22:18:40 +0200
committerWeblate <42@minetest.ru>2013-05-13 18:19:39 +0200
commit71e5a466a64991b7df2766ffe17d2407ee4b5fa8 (patch)
tree722bd1b164e9f93f98cd5454ba6f3b8f1208c422 /client/shaders/test_shader_1
parent647f1cbfe58c826b21155d6240266c7da130c548 (diff)
downloadminetest-71e5a466a64991b7df2766ffe17d2407ee4b5fa8.tar.gz
minetest-71e5a466a64991b7df2766ffe17d2407ee4b5fa8.tar.bz2
minetest-71e5a466a64991b7df2766ffe17d2407ee4b5fa8.zip
Translated using Weblate (Dutch)
Diffstat (limited to 'client/shaders/test_shader_1')
0 files changed, 0 insertions, 0 deletions
21 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
/*
Minetest
Copyright (C) 2010-2014 kwolekr, Ryan Kwolek <kwolekr@minetest.net>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "test.h"

#include "exceptions.h"
#include "objdef.h"

class TestObjDef : public TestBase
{
public:
	TestObjDef() { TestManager::registerTestModule(this); }
	const char *getName() { return "TestObjDef"; }

	void runTests(IGameDef *gamedef);

	void testHandles();
	void testAddGetSetClear();
	void testClone();
};

static TestObjDef g_test_instance;

void TestObjDef::runTests(IGameDef *gamedef)
{
	TEST(testHandles);
	TEST(testAddGetSetClear);
	TEST(testClone);
}