MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / Environment

Method Environment

tests/include/environment.h:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10public:
11 Environment(int argc, char** argv)
12 {
13 if(argc >= 1)
14 {
15 executable_path = filesystem::path(argv[0]).make_absolute();
16 }
17 }
18
19 // the absolute path to the test executable
20 filesystem::path executable_path{};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected