chromium/components/assist_ranker/example_preprocessing_unittest.cc

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

#include "components/assist_ranker/example_preprocessing.h"

#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/protobuf/src/google/protobuf/map.h"
#include "third_party/protobuf/src/google/protobuf/repeated_field.h"

namespace assist_ranker {
namespace {

Map;
RepeatedField;

void EXPECT_EQUALS_EXAMPLE(const RankerExample& example1,
                           const RankerExample& example2) {}

}  // namespace

class ExamplePreprocessorTest : public ::testing::Test {};

TEST_F(ExamplePreprocessorTest, AddMissingFeatures) {}

TEST_F(ExamplePreprocessorTest, AddBucketizeFeatures) {}

// Tests normalization of float and int32 features.
TEST_F(ExamplePreprocessorTest, NormalizeFeatures) {}

// Zero normalizer returns an error.
TEST_F(ExamplePreprocessorTest, ZeroNormalizerReturnsError) {}

// Tests converts a bool or int32 feature to a string feature.
TEST_F(ExamplePreprocessorTest, ConvertToStringFeatures) {}

// Float features can't be convert to string features.
TEST_F(ExamplePreprocessorTest,
       ConvertFloatFeatureToStringFeatureReturnsError) {}

TEST_F(ExamplePreprocessorTest, Vectorization) {}

TEST_F(ExamplePreprocessorTest, MultipleErrorCode) {}

TEST_F(ExamplePreprocessorTest, ExampleFloatIterator) {}

TEST_F(ExamplePreprocessorTest, ExampleFloatIteratorError) {}

}  // namespace assist_ranker