added database test
This commit is contained in:
parent
47adab40ae
commit
3b1f2d346f
1 changed files with 11 additions and 0 deletions
11
test/test_database.cpp
Normal file
11
test/test_database.cpp
Normal 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");
|
||||
}
|
Loading…
Reference in a new issue