chromium/components/qr_code_generator/qr_code_generator_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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/qr_code_generator/qr_code_generator.h"

#include <limits>
#include <optional>

#include "base/containers/span.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace qr_code_generator {

TEST(QRCodeGeneratorTest, Generate) {}

TEST(QRCodeGeneratorTest, ManySizes) {}

// Test helper that returns `GeneratedCode::qr_size` or -1 if there was a
// failure.
int GenerateAndGetQrCodeSize(size_t input_size) {}

TEST(QRCodeGeneratorTest, InputSize106) {}

TEST(QRCodeGeneratorTest, InputSize122) {}

TEST(QRCodeGeneratorTest, InputSize180) {}

TEST(QRCodeGeneratorTest, InputSize287) {}

TEST(QRCodeGeneratorTest, InputSize666) {}

TEST(QRCodeGeneratorTest, HugeInput) {}

TEST(QRCodeGeneratorTest, InvalidMinVersion) {}

}  // namespace qr_code_generator