- Added unit tests - blank for now.
- Added stubbed ColProject, just so that ColID is not the only column.
- Renamed files for clarity and namespace reasons.
This commit is contained in:
Paul Beckingham
2011-04-26 22:46:04 -04:00
parent 74d799acea
commit c5f71051ad
10 changed files with 225 additions and 5 deletions

View File

@@ -25,8 +25,10 @@
//
////////////////////////////////////////////////////////////////////////////////
#include <iostream> // TODO Remove
#include <sstream>
#include <View.h>
#include <text.h>
////////////////////////////////////////////////////////////////////////////////
View::View ()
@@ -164,6 +166,12 @@ std::string View::render (std::vector <Task>& data, std::vector <int>& sequence)
ideal.push_back (global_ideal);
}
std::string combined;
join (combined, ",", minimal);
std::cout << "# minimal " << combined << "\n";
join (combined, ",", ideal);
std::cout << "# ideal " << combined << "\n";
// TODO Calculate final column widths.
// TODO Compose column headers.