MCPcopy Create free account
hub / github.com/KDAB/GammaRay / TEST

Function TEST

3rdparty/backward-cpp/test/rectrace.cpp:63–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61} // namespace toto
62
63TEST(recursion) {
64 { // lexical scope.
65 stacktrace_t st;
66 const int input = 3;
67 int r = toto::titi::foo::bar::trampoline(st, input);
68
69 std::cout << "rec(" << input << ") == " << r << std::endl;
70
71 Printer printer;
72 // printer.address = true;
73 printer.object = true;
74 printer.print(st, stdout);
75 }
76}
77
78int fib(StackTrace &st, int level) {
79 if (level == 2) {

Callers

nothing calls this directly

Calls 2

fibFunction · 0.85
printMethod · 0.80

Tested by

no test coverage detected