chromium/components/segmentation_platform/internal/database/signal_key_unittest.cc

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

#include "components/segmentation_platform/internal/database/signal_key.h"

#include <cmath>
#include <cstring>

#include "base/logging.h"
#include "base/test/simple_test_clock.h"
#include "base/time/time.h"
#include "components/segmentation_platform/internal/database/signal_key_internal.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace segmentation_platform {

namespace {
int CompareBinaryKeys(const SignalKey& a, const SignalKey& b) {}

bool Equal(const SignalKey& k1, const SignalKey& k2) {}
}  // namespace

class SignalKeyTest : public testing::Test {};

TEST_F(SignalKeyTest, TestConvertToAndFromBinary) {}

TEST_F(SignalKeyTest, TestValidity) {}

TEST_F(SignalKeyTest, TestUsesSafeBinaryFormat) {}

TEST_F(SignalKeyTest, TestGetPrefixInBinary) {}

TEST_F(SignalKeyTest, EarliestEndTimeComesFirst) {}

TEST_F(SignalKeyTest, EqualKeysHaveEqualBinaryKeys) {}

TEST_F(SignalKeyTest, EndTimeMoreSignificantThanStartTime) {}

TEST_F(SignalKeyTest, OrderByStartTimeIfEverythingElseIsEqual) {}

TEST_F(SignalKeyTest, DifferentNameHashGivesDifferentKey) {}

TEST_F(SignalKeyTest, DifferentKindGivesDifferentKey) {}

TEST_F(SignalKeyTest, TestKeyDebugStringRepresentation) {}

}  // namespace segmentation_platform