mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
13 lines
208 B
C++
13 lines
208 B
C++
|
#include <gtest/gtest.h>
|
||
|
|
||
|
#include <base/system.h>
|
||
|
|
||
|
#if defined(CONF_FAMILY_UNIX)
|
||
|
TEST(Unix, Create)
|
||
|
{
|
||
|
UNIXSOCKET Socket = net_unix_create_unnamed();
|
||
|
ASSERT_GE(Socket, 0);
|
||
|
net_unix_close(Socket);
|
||
|
}
|
||
|
#endif
|