aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/unittests/guid_ut.cpp
blob: 694bf273b4368c2b9a44f34e5925acc8c575b4e3 (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