<commit_before>
#define CATCH_CONFIG_MAIN
#include <catch.hpp>

#include <ionConfig.h>


#ifdef ION_CONFIG_WINDOWS
class DebugOutBuffer : public std::stringbuf
{

public:

	virtual int sync()
	{
		OutputDebugString(str().c_str());
		str("");
		return 0;
	}

};

namespace Catch
{
	std::ostream buffer(new DebugOutBuffer());

	std::ostream & cout()
	{
		return buffer;
	}

	std::ostream & cerr()
	{
		return buffer;
	}

}
#else
namespace Catch
{
	std::ostream & cout()
	{
		return std::cout;
	}

	std::ostream & cerr()
	{
		return std::cerr;
	}

}
#endif<commit_msg>[TestUnits] Fix *nix build, don't actually need these definitions<commit_after>
#define CATCH_CONFIG_MAIN
#include <catch.hpp>

#include <ionConfig.h>


#ifdef ION_CONFIG_WINDOWS
class DebugOutBuffer : public std::stringbuf
{

public:

	virtual int sync()
	{
		OutputDebugString(str().c_str());
		str("");
		return 0;
	}

};

namespace Catch
{
	std::ostream buffer(new DebugOutBuffer());

	std::ostream & cout()
	{
		return buffer;
	}

	std::ostream & cerr()
	{
		return buffer;
	}

}
#endif
{'fraction_non_alphanumeric': 0.14772727272727273, 'fraction_numerical': 0.001893939393939394, 'mean_word_length': 4.285, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6164554', 'n_tokens_mistral': 422, 'n_tokens_neox': 398, 'n_words': 88}