1
0
Fork 0
libfort/tests/package_tests/foo-lib.cpp

14 lines
412 B
C++
Raw Normal View History

2020-02-12 20:41:20 +01:00
#include "fort.hpp"
2020-02-20 21:19:40 +01:00
std::string print_string()
2020-02-12 20:41:20 +01:00
{
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;
2020-02-20 21:19:40 +01:00
return table.to_string();
2020-02-12 20:41:20 +01:00
}