print results as table
This commit is contained in:
@@ -27,7 +27,14 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
SelfTest();
|
||||
std::cout << *x << std::endl;
|
||||
x->unhook_all();
|
||||
}
|
||||
|
||||
std::cout << "+----------+-+-+-+-+-+-+-+" << std::endl <<
|
||||
'|' << std::setw(10) << "Name" << std::setw(1) << "|S|B|R|A|?|L|T|" << std::endl <<
|
||||
"+----------+-+-+-+-+-+-+-+" << std::endl;
|
||||
for (auto&& x : engines) {
|
||||
std::cout << *x << std::endl;
|
||||
}
|
||||
std::cout << "+----------+-+-+-+-+-+-+-+" << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user