update to testdatabase

This commit is contained in:
JamesEMcclure 2019-09-16 14:20:14 -04:00
parent c7ca6ec3aa
commit eb7aca3555

View File

@ -49,6 +49,11 @@ int main(int argc, char **argv)
OutStream << "} \n"; OutStream << "} \n";
printf("TestDatbase: writing test file\n"); printf("TestDatbase: writing test file\n");
OutStream.close(); OutStream.close();
std::string protocol="steady state";
if (protocol == "steady state"){
printf("Run steady state \n");
}
auto new_db = std::make_shared<Database>( "test.db" ); auto new_db = std::make_shared<Database>( "test.db" );
auto domain_db = new_db->getDatabase( "Domain" ); auto domain_db = new_db->getDatabase( "Domain" );