MCPcopy Create free account
hub / github.com/Icinga/icinga2 / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

test/base-serialize.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14BOOST_AUTO_TEST_SUITE(base_serialize)
15
16BOOST_AUTO_TEST_CASE(scalar)
17{
18 BOOST_CHECK(Deserialize(Serialize(7)) == 7);
19 BOOST_CHECK(Deserialize(Serialize(7.3)) == 7.3);
20 BOOST_CHECK(Deserialize(Serialize(Empty)) == Empty);
21 BOOST_CHECK(Deserialize(Serialize("hello")) == "hello");
22}
23
24BOOST_AUTO_TEST_CASE(array)
25{

Callers

nothing calls this directly

Calls 5

AddMethod · 0.45
GetLengthMethod · 0.45
GetMethod · 0.45
SetMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected