/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2020-08-14 * Changed: 2023-02-22 * * */ #include #include using namespace ls::std::core::type; using namespace ::testing; namespace { class JsonTest : public Test { protected: JsonTest() = default; ~JsonTest() override = default; void SetUp() override {} void TearDown() override {} }; TEST_F(JsonTest, simpleSerialization) { json jsonObject{}; jsonObject["value"] = 1989; ASSERT_STREQ(R"({"value":1989})", jsonObject.dump().c_str()); } }