NetCpp/test/test_util/main.cpp

16 lines
321 B
C++

//
// Created by Eric Saturn on 2019/12/12.
//
#include <gtest/gtest.h>
#include "../env.h"
GlobalTestEnv *env;
int main(int argc, char *argv[]){
::testing::InitGoogleTest(&argc, argv);
env = dynamic_cast<GlobalTestEnv *>(::testing::AddGlobalTestEnvironment(new GlobalTestEnv));
return RUN_ALL_TESTS();
}