stuff-from-scratch/test/database/TestDatabase.cpp
2022-12-01 10:52:48 +00:00

13 lines
321 B
C++

#include "DatabaseManager.h"
#include "TestFramework.h"
#include "TestUtils.h"
TEST_CASE(TestDatabaseManager, "database")
{
DatabaseManager db_manager;
db_manager.openDatabase(TestUtils::getTestOutputDir() / "test.db");
std::string statement = "CREATE TABLE corporation;";
db_manager.run(statement);
}