diff --git a/src/struct_pack/tests/test_cross_platform.cpp b/src/struct_pack/tests/test_cross_platform.cpp index 511bc22a4..3c679888a 100644 --- a/src/struct_pack/tests/test_cross_platform.cpp +++ b/src/struct_pack/tests/test_cross_platform.cpp @@ -23,28 +23,4 @@ TEST_CASE("testing deserialize other platform data without debug info") { REQUIRE(result.has_value()); auto object = create_complicated_object(); CHECK(result.value() == object); -} - -TEST_CASE("testing serialize other platform data") { - std::ifstream ifs("binary_data/test_cross_platform.dat"); - REQUIRE(ifs.is_open()); - std::string content(std::istreambuf_iterator{ifs}, - std::istreambuf_iterator{}); - auto object = create_complicated_object(); - auto buffer = - struct_pack::serialize(object); - CHECK(buffer == content); -} - -TEST_CASE("testing serialize other platform data") { - std::ifstream ifs("binary_data/test_cross_platform_without_debug_info.dat"); - REQUIRE(ifs.is_open()); - std::string content(std::istreambuf_iterator{ifs}, - std::istreambuf_iterator{}); - auto object = create_complicated_object(); - auto buffer = - struct_pack::serialize(object); - CHECK(buffer == content); } \ No newline at end of file