<commit_before>#include "Catch/catch.hpp"

#include "Core/StringFormat.hpp"

TEST_CASE("String is formatted", "[toString]")
{
	SECTION("int")
	{
		auto s = Core::toString((int)10);
		REQUIRE(s == "10");
	}
}<commit_msg>Adding a float formatting test<commit_after>#include "Catch/catch.hpp"

#include "Core/StringFormat.hpp"

TEST_CASE("String is formatted", "[toString]")
{
	SECTION("int")
	{
		auto s = Core::toString((int)10);
		REQUIRE(s == "10");
	}
	SECTION("float")
	{
		auto s = Core::toString((float)10.1);
		REQUIRE(s == "10.100000");
	}
}
{'fraction_non_alphanumeric': 0.2062043795620438, 'fraction_numerical': 0.03467153284671533, 'mean_word_length': 5.238636363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '338618', 'n_tokens_mistral': 234, 'n_tokens_neox': 214, 'n_words': 38}