MCPcopy Create free account
hub / github.com/boostorg/stacktrace / test_nested

Function test_nested

test/test_noop.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void test_nested() {
26 std::pair<stacktrace, stacktrace> res = function_from_library(15, function_from_main_translation_unit);
27
28 BOOST_TEST(!res.first);
29 BOOST_TEST(res.first.empty());
30 BOOST_TEST(res.first.size() == 0);
31
32 BOOST_TEST(res.second <= res.first);
33 BOOST_TEST(res.second >= res.first);
34 BOOST_TEST(res.second == res.first);
35 BOOST_TEST(res.second == res.first);
36 BOOST_TEST(!(res.second > res.first));
37}
38
39void test_empty_frame() {
40 boost::stacktrace::frame empty_frame;

Callers 1

mainFunction · 0.70

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected