Browse Source

print results as table

master
aaaaaa aaaaaaa 6 years ago
parent
commit
1184c88410
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      tester/main.cpp

+ 8
- 1
tester/main.cpp View File

@@ -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;
}

Loading…
Cancel
Save