[A] Add test for add_subdirectory

This commit is contained in:
seleznevae
2020-02-23 09:09:32 +03:00
parent 90265dd628
commit 594cbe83c7
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include <iostream>
#include "fort.hpp"
int main()
{
fort::char_table table;
table << fort::header
<< "N" << "Driver" << "Time" << "Avg Speed" << fort::endr
<< "1" << "Ricciardo" << "1:25.945" << "47.362" << fort::endr
<< "2" << "Hamilton" << "1:26.373" << "35.02" << fort::endr
<< "3" << "Verstappen" << "1:26.469" << "29.78" << fort::endr;
std::cout << table.to_string() << std::endl;
}