chromium/pdf/ui/thumbnail_unittest.cc

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

#include "pdf/ui/thumbnail.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"

namespace chrome_pdf {

namespace {

constexpr float kDeviceToPixelLow =;
constexpr float kDeviceToPixelHigh =;

struct BestFitSizeParams {};

void TestBestFitSize(const BestFitSizeParams& params) {}

TEST(ThumbnailTest, CalculateBestFitSizeNormal) {}

TEST(ThumbnailTest, CalculateBestFitSizeLargeAspectRatio) {}

TEST(ThumbnailTest, CalculateBestFitSizeNoOverflow) {}

}  // namespace

}  // namespace chrome_pdf