#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/assist_ranker/generic_logistic_regression_inference.h"
#include "components/assist_ranker/example_preprocessing.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/protobuf/src/google/protobuf/map.h"
namespace assist_ranker {
Map;
class GenericLogisticRegressionInferenceTest : public testing::Test { … };
TEST_F(GenericLogisticRegressionInferenceTest, BaseTest) { … }
TEST_F(GenericLogisticRegressionInferenceTest, UnknownElement) { … }
TEST_F(GenericLogisticRegressionInferenceTest, MissingFeatures) { … }
TEST_F(GenericLogisticRegressionInferenceTest, UnknownFeatures) { … }
TEST_F(GenericLogisticRegressionInferenceTest, Threshold) { … }
TEST_F(GenericLogisticRegressionInferenceTest, NoThreshold) { … }
TEST_F(GenericLogisticRegressionInferenceTest, PreprossessedModel) { … }
}