aboutsummaryrefslogblamecommitdiffstats
path: root/library/cpp/yt/misc/unittests/guid_ut.cpp
blob: ce9ee52109b90e03817790e2fb1cd57241ddbd20 (plain) (tree)
1
2
3
                                            
 
                                     















                                                                                
#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