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

Method object_test

test/object.cpp:102–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 R"("15":15,"16":16,"17":17,"18":18,"19":19})";
101
102 object_test()
103 : str_("abcdefghijklmnopqrstuvwxyz")
104 {
105 // ensure this string does
106 // not fit in the SBO area.
107 BOOST_ASSERT(str_.size() >
108 string().capacity());
109
110 DECLARE_INIT_LISTS;
111
112 BOOST_TEST(
113 i0_.size() == size0_);
114 BOOST_TEST(
115 i1_.size() == size1_);
116 }
117
118 template<class T, class U, class = void>
119 struct is_equal_comparable : std::false_type {};

Callers

nothing calls this directly

Calls 3

stringClass · 0.50
sizeMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected