<commit_before>// CATCH_CONFIG_MAIN tells catch that the current file is the main test file.
#define CATCH_CONFIG_MAIN

// _BSD_SOURCE is required by cygwin to call gettimeofday(), called in catch.
#define _BSD_SOURCE

#include "catch.hpp"
#include <functional>
#include <memory>
#include <string>

TEST_CASE("bind test", "[misc]")
{
  class Number
  {
  public:
    Number(int num) : _num(num) {}
    int getNum() { return _num; }

  private:
    const int _num;
  };

  Number a(1);<commit_msg>fix a warning generated by a define in main.cpp<commit_after>// CATCH_CONFIG_MAIN tells catch that the current file is the main test file.
#define CATCH_CONFIG_MAIN

// _DEFAULT_SOURCE is required by cygwin to call gettimeofday(),
// which is called in catch.
#define _DEFAULT_SOURCE

#include "catch.hpp"
#include <functional>
#include <memory>
#include <string>

TEST_CASE("bind test", "[misc]")
{
  class Number
  {
  public:
    Number(int num) : _num(num) {}
    int getNum() { return _num; }

  private:
    const int _num;
  };

  Number a(1);
{'fraction_non_alphanumeric': 0.11376673040152964, 'fraction_numerical': 0.0019120458891013384, 'mean_word_length': 3.962085308056872, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5579279', 'n_tokens_mistral': 359, 'n_tokens_neox': 348, 'n_words': 119}