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

Method testEquality

test/object.cpp:1647–1655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645 }
1646
1647 void
1648 testEquality()
1649 {
1650 BOOST_TEST(object({}) == object({}));
1651 BOOST_TEST(object({}) != object({{"1",1},{"2",2}}));
1652 BOOST_TEST(object({{"1",1},{"2",2},{"3",3}}) == object({{"1",1},{"2",2},{"3",3}}));
1653 BOOST_TEST(object({{"1",1},{"2",2},{"3",3}}) != object({{"1",1},{"2",2}}));
1654 BOOST_TEST(object({{"1",1},{"2",2},{"3",3}}) == object({{"3",3},{"2",2},{"1",1}}));
1655 }
1656
1657 void
1658 testAllocation()

Callers

nothing calls this directly

Calls 1

objectClass · 0.50

Tested by

no test coverage detected