aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/unittests/guid_ut.cpp
blob: ce9ee52109b90e03817790e2fb1cd57241ddbd20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <library/cpp/testing/gtest/gtest.h>

#include <library/cpp/yt/misc/guid.h>

namespace NYT {
namespace {

////////////////////////////////////////////////////////////////////////////////

TEST(TGuidTest, RandomGuids)
{
    auto guid = TGuid::Create();
    auto otherGuid = TGuid::Create();
    EXPECT_FALSE(guid == otherGuid);
}

////////////////////////////////////////////////////////////////////////////////

} // namespace
} // namespace NYT