#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) { … }
}
class ExamplePreprocessorTest : public ::testing::Test { … };
TEST_F(ExamplePreprocessorTest, AddMissingFeatures) { … }
TEST_F(ExamplePreprocessorTest, AddBucketizeFeatures) { … }
TEST_F(ExamplePreprocessorTest, NormalizeFeatures) { … }
TEST_F(ExamplePreprocessorTest, ZeroNormalizerReturnsError) { … }
TEST_F(ExamplePreprocessorTest, ConvertToStringFeatures) { … }
TEST_F(ExamplePreprocessorTest,
ConvertFloatFeatureToStringFeatureReturnsError) { … }
TEST_F(ExamplePreprocessorTest, Vectorization) { … }
TEST_F(ExamplePreprocessorTest, MultipleErrorCode) { … }
TEST_F(ExamplePreprocessorTest, ExampleFloatIterator) { … }
TEST_F(ExamplePreprocessorTest, ExampleFloatIteratorError) { … }
}