<commit_before>#ifndef BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_
#define BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_

#include "quadrature/quadrature_set_i.h"

#include "test_helpers/gmock_wrapper.h"

namespace bart {

namespace quadrature {

template <int dim>
class QuadratureSetMock : public QuadratureSetI<dim> {
 public:
  using typename QuadratureSetI<dim>::Iterator;
  using typename QuadratureSetI<dim>::ConstIterator;

  MOCK_METHOD1_T(AddPoint, bool(std::shared_ptr<QuadraturePointI<dim>>));
  MOCK_METHOD2_T(SetReflection, void(std::shared_ptr<QuadraturePointI<dim>>,
      std::shared_ptr<QuadraturePointI<dim>>));
  MOCK_METHOD1_T(GetReflection, std::shared_ptr<QuadraturePointI<dim>>(
      std::shared_ptr<QuadraturePointI<dim>>));

  MOCK_METHOD0_T(begin, Iterator());
  MOCK_METHOD0_T(end, Iterator());
  MOCK_CONST_METHOD0_T(cbegin, ConstIterator());
  MOCK_CONST_METHOD0_T(cend, ConstIterator());

  MOCK_CONST_METHOD0_T(size, std::size_t());


};

} // namespace quadrature

} // namespace bart

#endif //BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_
<commit_msg>added missing CONST to QuadratureSetMock<commit_after>#ifndef BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_
#define BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_

#include "quadrature/quadrature_set_i.h"

#include "test_helpers/gmock_wrapper.h"

namespace bart {

namespace quadrature {

template <int dim>
class QuadratureSetMock : public QuadratureSetI<dim> {
 public:
  using typename QuadratureSetI<dim>::Iterator;
  using typename QuadratureSetI<dim>::ConstIterator;

  MOCK_METHOD1_T(AddPoint, bool(std::shared_ptr<QuadraturePointI<dim>>));
  MOCK_METHOD2_T(SetReflection, void(std::shared_ptr<QuadraturePointI<dim>>,
      std::shared_ptr<QuadraturePointI<dim>>));
  MOCK_CONST_METHOD1_T(GetReflection, std::shared_ptr<QuadraturePointI<dim>>(
      std::shared_ptr<QuadraturePointI<dim>>));

  MOCK_METHOD0_T(begin, Iterator());
  MOCK_METHOD0_T(end, Iterator());
  MOCK_CONST_METHOD0_T(cbegin, ConstIterator());
  MOCK_CONST_METHOD0_T(cend, ConstIterator());

  MOCK_CONST_METHOD0_T(size, std::size_t());


};

} // namespace quadrature

} // namespace bart

#endif //BART_SRC_QUADRATURE_TESTS_QUADRATURE_SET_MOCK_H_

{'fraction_non_alphanumeric': 0.11305518169582772, 'fraction_numerical': 0.007178106774338268, 'mean_word_length': 8.48936170212766, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5000849', 'n_tokens_mistral': 870, 'n_tokens_neox': 855, 'n_words': 104}