// Copyright 2024 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/fpdfapi/parser/cpdf_number.h" #include <limits> #include "core/fxcrt/bytestring.h" #include "core/fxcrt/fx_stream.h" #include "core/fxcrt/notreached.h" #include "core/fxcrt/retain_ptr.h" #include "testing/gtest/include/gtest/gtest.h" namespace { class ByteStringArchiveStream : public IFX_ArchiveStream { … }; } // namespace TEST(CPDFNumber, WriteToFloat) { … } TEST(CPDFNumber, WriteToInt) { … }