<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "crypto/ghash.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace crypto {

namespace {

// Test vectors are taken from Appendix B of<commit_msg>Add missing include of algorithm for std::min<commit_after>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <algorithm>

#include "crypto/ghash.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace crypto {

namespace {

// Test vectors are taken from Appendix B of
{'fraction_non_alphanumeric': 0.09175531914893617, 'fraction_numerical': 0.010638297872340425, 'mean_word_length': 3.8896103896103895, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5866430', 'n_tokens_mistral': 228, 'n_tokens_neox': 217, 'n_words': 95}