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

Method check

test/object.cpp:238–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 object::const_reverse_iterator>::value));
237
238 static
239 void
240 check(
241 object const& o,
242 string_view s,
243 std::size_t capacity = 0)
244 {
245 BOOST_TEST(
246 parse(serialize(o)).as_object() ==
247 parse(s).as_object());
248 if(capacity != 0)
249 BOOST_TEST(o.capacity() == capacity);
250 }
251
252 static
253 void

Callers

nothing calls this directly

Calls 5

serializeFunction · 0.85
check_storageFunction · 0.85
capacityMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected