#include "components/dom_distiller/core/page_features.h"
#include <stddef.h>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/path_service.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace dom_distiller {
namespace {
struct SiteDerivedFeatures { … };
std::optional<SiteDerivedFeatures> ParseSiteDerivedFeatures(
const base::Value& json) { … }
base::Value::List ReadJsonList(const std::string& file_name) { … }
TEST(DomDistillerPageFeaturesTest, TestCalculateDerivedFeatures) { … }
std::vector<double> DeriveFromPath(const GURL& url) { … }
TEST(DomDistillerPageFeaturesTest, TestPath) { … }
TEST(DomDistillerPageFeaturesTest, TestPath2) { … }
TEST(DomDistillerPageFeaturesTest, TestPath3) { … }
TEST(DomDistillerPageFeaturesTest, TestPath4) { … }
}
}