<commit_before>#include "pixel_test.h"


int main(int argc, char** argv) {
	return 0;
}


int creation_test() {
	Pixel a, b;

	a.red = 50;
	a.blue = 100;
	a.green = 150;
	a.alpha = 200;

	b = *create_pixel(50, 100, 150, 200);

	return pixel_equals(&a, &b);
}

int grey_test() {
	Pixel a, b;

	a = *create_pixel(50, 100, 150, 200);
	black_and_white(&a);

	b.red = b.blue = b.green = 100;
	b.alpha = 200;

	return pixel_equals(&a, &b);
}


int pixel_equals(Pixel *a, Pixel *b) {
	return	a->red == b->red &&
			a->blue == b->blue &&<commit_msg>Simplified pixel declaration in grey_test()<commit_after>#include "pixel_test.h"


int main(int argc, char** argv) {
	return 0;
}


int creation_test() {
	Pixel a, b;

	a.red = 50;
	a.blue = 100;
	a.green = 150;
	a.alpha = 200;

	b = *create_pixel(50, 100, 150, 200);

	return pixel_equals(&a, &b);
}

int grey_test() {
	Pixel a, b;

	a = *create_pixel(50, 100, 150, 100);
	black_and_white(&a);

	b.red = b.blue = b.green = b.alpha = 100;

	return pixel_equals(&a, &b);
}


int pixel_equals(Pixel *a, Pixel *b) {
	return	a->red == b->red &&
			a->blue == b->blue &&
{'fraction_non_alphanumeric': 0.1871609403254973, 'fraction_numerical': 0.06962025316455696, 'mean_word_length': 3.410358565737052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6220434', 'n_tokens_mistral': 569, 'n_tokens_neox': 471, 'n_words': 123}