chromium/ui/gfx/delegated_ink_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 "ui/gfx/delegated_ink_metadata.h"
#include "ui/gfx/delegated_ink_point.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace gfx {

// Test confirms that DelegatedInkPoint and DelegatedInkMetadata will both
// report that they match each other if the timestamp and point are the same,
// regardless of any other members.
TEST(DelegatedInkTest, PointAndMetadataMatch) {}

// Confirms that if the timestamps are the same and point locations are within
// |kEpsilon|, then they will be considered matching.
TEST(DelegatedInkTest, PointAndMetadataAreClose) {}

// Confirms that if timestamps or points are different (or the metadata is null)
// the DelegatedInkPoint and DelegatedInkMetadata are not considered matching.
TEST(DelegatedInkTest, PointAndMetadataDoNotMatch) {}

}  // namespace gfx