mirror of
https://github.com/latentPrion/cppbessot.git
synced 2026-04-17 18:44:23 +00:00
10 lines
274 B
C
10 lines
274 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <gtest/gtest.h>
|
||
|
|
#include <nlohmann/json.hpp>
|
||
|
|
|
||
|
|
inline void expect_json_roundtrip_equal(const nlohmann::json& actual, const nlohmann::json& expected)
|
||
|
|
{
|
||
|
|
EXPECT_EQ(actual, expected) << "expected: " << expected.dump() << "\nactual: " << actual.dump();
|
||
|
|
}
|