#include "gtest/gtest.h" #include "tdb.h" TEST(tdb_api_test, tdb_create_open_close_db_test) { int ret; TDB *dbp; tdbCreateDB(&dbp); tdbOpenDB(dbp, TDB_BTREE, 0); tdbCloseDB(dbp, 0); }