Commit 072249ff authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add test

parent c349997b
Pipeline #102443 passed with stages
in 11 minutes and 15 seconds
......@@ -12,7 +12,13 @@
*/
bool checkGeneratedTableConst(const TableParameters & tab){
bool b(true);
std::cout << "checkGeneratedTable : get x" << tab.getX(0) << std::endl;
b &= tab.getXFull() != NULL;
std::cout << "checkGeneratedTable : get y" << tab.getY(0) << std::endl;
b &= tab.getYFull() != NULL;
b &= tab.getTabValue(0) != NULL;
b &= tab.getTabValueFull() != NULL;
return b;
......@@ -25,6 +31,12 @@ bool checkGeneratedTableConst(const TableParameters & tab){
bool checkGeneratedTable(TableParameters & tab){
bool b(true);
std::cout << "checkGeneratedTable : get x" << tab.getX(0) << std::endl;
b &= tab.getXFull() != NULL;
std::cout << "checkGeneratedTable : get y" << tab.getY(0) << std::endl;
b &= tab.getYFull() != NULL;
b &= tab.getTabValue(0) != NULL;
b &= tab.getTabValueFull() != NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment