#include "gamedef.h"#include "nodedef.h"#include "network/networkprotocol.h"#include <catch.h>#include <ios>#include <sstream>
Include dependency graph for test_nodedef.cpp:Functions | |
| TEST_CASE ("Given a node definition, " "when we serialize and then deserialize it, " "then the deserialized one should be equal to the original.", "[nodedef]") | |
| TEST_CASE | ( | "Given a node | definition, |
| " "when we serialize and then deserialize | it, | ||
| " "then the deserialized one should be equal to the original." | , | ||
| "" | [nodedef] ) |
References CHECK, ContentFeatures::deSerialize(), ContentFeatures::is_ground_content, LATEST_PROTOCOL_VERSION, ContentFeatures::name, ContentFeatures::node_box, ContentFeatures::serialize(), ContentFeatures::tiledef, NodeBox::type, and ContentFeatures::walkable.
Here is the call graph for this function: