MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / main

Function main

tests/src/engine/test_console_interpreter.cpp:140–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140int main(int, char** argv)
141{
142 // catch donut::logs
143 donut::log::SetCallback([](donut::log::Severity s, char const* msg) -> void {
144 logs.push_back({ s, std::string(msg) });
145 });
146
147 try
148 {
149 test_commands();
150 test_variables();
151 }
152 catch (const std::runtime_error & err)
153 {
154 fprintf(stderr, "%s", err.what());
155 return 1;
156 }
157 return 0;
158}

Callers

nothing calls this directly

Calls 4

SetCallbackFunction · 0.85
test_commandsFunction · 0.85
test_variablesFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected