chromium/base/uuid_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/uuid.h"

#include <stdint.h>

#include <limits>
#include <set>
#include <string_view>
#include <unordered_set>

#include "base/strings/string_util.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace base {

namespace {

// The format of Uuid version 4 must be xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx,
// where y is one of [8, 9, a, b].
bool IsValidV4(const Uuid& guid) {}

}  // namespace

TEST(UuidTest, UuidBasicUniqueness) {}

namespace {

void TestUuidValidity(std::string_view input,
                      bool case_insensitive,
                      bool strict) {}

}  // namespace

TEST(UuidTest, Validity) {}

TEST(UuidTest, EqualityAndRoundTrip) {}

TEST(UuidTest, UnorderedSet) {}

TEST(UuidTest, Set) {}

TEST(UuidTest, Compare) {}

TEST(UuidTest, FormatRandomDataAsV4) {}

}  // namespace base