stuff-from-scratch/test/database/TestDatabase.cpp
2022-11-29 18:00:19 +00:00

12 lines
268 B
C++

#include "DatabaseManager.h"
#include "TestFramework.h"
TEST_CASE(TestDatabaseManager, "database")
{
DatabaseManager db_manager;
db_manager.CreateDatabase("test.db");
std::string statement = "CREATE TABLE corporation;";
db_manager.Run(statement);
}