Add more code to units to help distinguish between types and visual values

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:55 +00:00
parent ea426c70c6
commit 9fc5f33de8
8 changed files with 67 additions and 29 deletions

View file

@ -2,6 +2,7 @@
#include <iostream> // std::cout
#include "unitv.h"
// Namespace for testing functions
namespace tests
@ -19,7 +20,6 @@ namespace tests
}
}
// Test the board data class
void test_CBoard()
{
@ -42,4 +42,9 @@ namespace tests
int main()
{
tests::test_CBoard();
std::cout<<"Testing units"<<std::endl;
CUnitV myV;
std::cout<<myV.getVisual()<<std::endl;
};