14 lines
256 B
C++
14 lines
256 B
C++
|
#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();
|
||
|
}
|