aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_world/do_not_remove.txt
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2021-03-08 19:27:32 +0000
committerGitHub <noreply@github.com>2021-03-08 20:27:32 +0100
commitc48bbfd067da51a41f2facccf3cc3ee7660807a5 (patch)
tree4a14a4f96ba7cea51c68a8e89f860f12b0e86e28 /src/unittest/test_world/do_not_remove.txt
parent176f5866cbc8946c55a0a9bd0978a804ad310211 (diff)
downloadminetest-c48bbfd067da51a41f2facccf3cc3ee7660807a5.tar.gz
minetest-c48bbfd067da51a41f2facccf3cc3ee7660807a5.tar.bz2
minetest-c48bbfd067da51a41f2facccf3cc3ee7660807a5.zip
Fix misleading chat messages of /clearobjects (#10690)
Diffstat (limited to 'src/unittest/test_world/do_not_remove.txt')
0 files changed, 0 insertions, 0 deletions
() { return "TestMapNode"; } void runTests(IGameDef *gamedef); void testNodeProperties(const NodeDefManager *nodedef); }; static TestMapNode g_test_instance; void TestMapNode::runTests(IGameDef *gamedef) { TEST(testNodeProperties, gamedef->getNodeDefManager()); } //////////////////////////////////////////////////////////////////////////////// void TestMapNode::testNodeProperties(const NodeDefManager *nodedef) { MapNode n(CONTENT_AIR); UASSERT(n.getContent() == CONTENT_AIR); UASSERT(n.getLight(LIGHTBANK_DAY, nodedef) == 0); UASSERT(n.getLight(LIGHTBANK_NIGHT, nodedef) == 0); // Transparency n.setContent(CONTENT_AIR); UASSERT(nodedef->get(n).light_propagates == true); }