stuff-from-scratch/test/database/TestDatabase.cpp

13 lines
268 B
C++
Raw Normal View History

2022-01-01 18:46:31 +00:00
#include "DatabaseManager.h"
2022-11-29 18:00:19 +00:00
#include "TestFramework.h"
TEST_CASE(TestDatabaseManager, "database")
2022-01-01 18:46:31 +00:00
{
DatabaseManager db_manager;
db_manager.CreateDatabase("test.db");
std::string statement = "CREATE TABLE corporation;";
db_manager.Run(statement);
}