metaTests.cpp 245 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1 2 3 4 5 6
#include <gtest/gtest.h>
#include <iostream>

#include "meta.h"

TEST(MetaTest, meta_open_test) {
H
Hongze Cheng 已提交
7 8 9 10 11
  SMeta *meta = metaOpen(NULL);
  std::cout << "Meta is opened!" << std::endl;

  metaClose(meta);
  std::cout << "Meta is closed!" << std::endl;
H
refact  
Hongze Cheng 已提交
12
}