mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
12 lines
204 B
C++
12 lines
204 B
C++
|
#include "test.h"
|
||
|
#include <gtest/gtest.h>
|
||
|
|
||
|
#include <base/system.h>
|
||
|
|
||
|
TEST(Os, VersionStr)
|
||
|
{
|
||
|
char aVersion[128];
|
||
|
EXPECT_FALSE(os_version_str(aVersion, sizeof(aVersion)));
|
||
|
EXPECT_STRNE(aVersion, "");
|
||
|
}
|