PropertyObject: Unit test for declarations.

This shows a failure for the declaration of std::string type PropertyObjects.
This commit is contained in:
Edward d'Auvergne
2018-05-17 22:20:39 +02:00
parent dae0d0ff8b
commit fea59adbbe

View File

@@ -205,6 +205,14 @@ void testCreate()
}
void testDeclare()
{
PropertyObject<bool> a;
PropertyObject<int> b;
PropertyObject<double> c;
PropertyObject<std::string> d;
}
int main(int argc, char* argv[])
{
testRoot = new SGPropertyNode();
@@ -227,6 +235,7 @@ int main(int argc, char* argv[])
testAssignment();
testSTLContainer();
testCreate();
testDeclare();
return EXIT_SUCCESS;
}