Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_npagetooneexporter_unittest.cpp
Go to the documentation of this file.
1// Copyright 2024 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "core/fpdfapi/edit/cpdf_npagetooneexporter.h"
6
7#include "core/fxcrt/bytestring.h"
8#include "testing/gtest/include/gtest/gtest.h"
9
11 const char kExpected[] = "q\n.5 0 0 .5 .000001 1000000000000 cm\n/foo Do Q\n";
12
13 CPDF_NPageToOneExporter::NupPageSettings settings;
14 settings.sub_page_start_point = {0.000001f, 1000000000000.0f};
15 settings.scale = 0.5f;
16 EXPECT_EQ(kExpected,
18 "foo", settings));
19}
static ByteString GenerateSubPageContentStreamForTesting(const ByteString &xobject_name, const NupPageSettings &settings)
TEST(FXCRYPT, MD5GenerateEmtpyData)