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