SyTen
syten::Test Namespace Reference

Helper functions for executables in test/. More...

Functions

void initArgs (int argc_, char **argv_)
 Initialise binary_name with content from argv[0], if possible. More...
 
template<typename... Args>
void log (Args &&... args)
 Write logging information to stderr. More...
 
template<typename... Args>
void logErr (Args &&... args)
 Write logging information to stderr, formatted as an error. More...
 

Variables

std::string binary_name = "unknown"
 Binary name of the current executable, used as prefix for logging output. More...
 

Detailed Description

Helper functions for executables in test/.