1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 22:53:53 +00:00
openmw/apps/openmw_test_suite/sqlite3/db.cpp
2021-10-16 17:43:08 +02:00

15 lines
325 B
C++

#include <components/sqlite3/db.hpp>
#include <gtest/gtest.h>
namespace
{
using namespace testing;
using namespace Sqlite3;
TEST(Sqlite3DbTest, makeDbShouldCreateInMemoryDbWithSchema)
{
const auto db = makeDb(":memory:", "CREATE TABLE test ( id INTEGER )");
EXPECT_NE(db, nullptr);
}
}