Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
325 B · 15 lines
C++
at master
12345678910111213141516#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); }}