#include "gamedef.h"
#include "nodedef.h"
#include "network/networkprotocol.h"
#include <catch.h>
#include <ios>
#include <sstream>
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.