<commit_before>#include <Sutf.h>
#include <GValOperations.h>

SUTF_TEST(testAdd)
{
	GVal r = add(GVal(4), GVal(3));
	Sutf::test(r.asInt() == 7);
}

SUTF_TEST(testSub)
{
	GVal r = sub(GVal(4), GVal(3));
	Sutf::test(r.asInt() == 1);
}

SUTF_TEST(testUNeg)
{
	GVal r = uneg(GVal(4));
	Sutf::test(r.asInt() == -4);
}

int main(int argc, char *argv[])
{
	Sutf::runTests(argc, argv);
	return 0;
}
<commit_msg>GValOperationsTest updated.<commit_after>#include <Sutf.h>
#include <GValOperations.h>

SUTF_TEST(testAdd)
{
	GVal r = add(GVal(4), GVal(3));
	Sutf::test(r.asInt() == 7);
}

SUTF_TEST(testSub)
{
	GVal r = sub(GVal(4), GVal(3));
	Sutf::test(r.asInt() == 1);
}

SUTF_TEST(testUNeg)
{
	GVal r = uneg(GVal(4));
	Sutf::test(r.asInt() == -4);
}

SUTF_TEST(testMul)
{
	GVal r = mul(GVal(4), GVal(3));
	Sutf::test(r.asInt() == 12);
}

SUTF_TEST(testDiv)
{
	GVal r = div(GVal(16), GVal(3));
	Sutf::test(r.asInt() == 5);
}

SUTF_TEST(testMod)
{
	GVal r = mod(GVal(16), GVal(3));
	Sutf::test(r.asInt() == 1);
}

SUTF_TEST(testEq)
{
	GVal r = eq(GVal(16), GVal(3));
	Sutf::test(r.asBool() == false);
}

SUTF_TEST(testUNot)
{
	GVal r = unot(GVal(true));
	Sutf::test(r.asBool() == false);
}

SUTF_TEST(testLt)
{
	GVal r = lt(GVal(16), GVal(3));
	Sutf::test(r.asBool() == false);
}

int main(int argc, char *argv[])
{
	Sutf::runTests(argc, argv);
	return 0;
}

{'fraction_non_alphanumeric': 0.23887240356083086, 'fraction_numerical': 0.026706231454005934, 'mean_word_length': 5.076576576576577, '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': '3278345', 'n_tokens_mistral': 699, 'n_tokens_neox': 688, 'n_words': 108}