MCPcopy Create free account
hub / github.com/boostorg/json / check_round_trip

Method check_round_trip

test/double.cpp:107–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void
108 static
109 check_round_trip(value const& jv1,
110 const parse_options& po = parse_options())
111 {
112 auto const s2 =
113 //to_string_test(jv1); // use this if serializer is broken
114 serialize(jv1);
115 auto jv2 =
116 from_string_test(s2, {}, po);
117 BOOST_TEST(equal(jv1, jv2));
118 }
119
120 template<class F>
121 void

Callers

nothing calls this directly

Calls 3

parse_optionsClass · 0.85
serializeFunction · 0.85
equalFunction · 0.85

Tested by

no test coverage detected