added database test

This commit is contained in:
Martin Brodbeck 2018-07-09 21:42:38 +02:00
parent 47adab40ae
commit 3b1f2d346f

11
test/test_database.cpp Normal file
View file

@ -0,0 +1,11 @@
#define BOOST_TEST_MODULE database
#include "../src/core/database.h"
#include <boost/test/included/unit_test.hpp>
//using namespace boost::unit_test;
BOOST_AUTO_TEST_CASE( create_database ) {
Database db("test.db");
}