#include "third_party/blink/renderer/platform/graphics/compositing/chunk_to_layer_mapper.h"
#include <optional>
#include <utility>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/graphics/paint/display_item.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_chunk.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/testing/fake_display_item_client.h"
#include "third_party/blink/renderer/platform/testing/paint_property_test_helpers.h"
namespace blink {
class ChunkToLayerMapperTest : public testing::Test { … };
TEST_F(ChunkToLayerMapperTest, OneChunkUsingLayerState) { … }
TEST_F(ChunkToLayerMapperTest, TwoChunkUsingLayerState) { … }
TEST_F(ChunkToLayerMapperTest, TwoChunkSameState) { … }
TEST_F(ChunkToLayerMapperTest, TwoChunkDifferentState) { … }
TEST_F(ChunkToLayerMapperTest, SlowPath) { … }
TEST_F(ChunkToLayerMapperTest, SwitchToSiblingEffect) { … }
}