osb/source/test/server_test.cpp

14 lines
256 B
C++
Raw Normal View History

2023-06-20 04:33:09 +00:00
#include "StarUniverseServer.hpp"
#include "StarRoot.hpp"
#include "gtest/gtest.h"
using namespace Star;
TEST(ServerTest, Run) {
UniverseServer server(Root::singleton().toStoragePath("universe"));
server.start();
server.stop();
server.join();
}