<commit_before>package building_blocks.bounds;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class ShortBounds {

	@Test
	public void testUpperBound() {
		assertTrue((short) 32767 == 32767);
		assertTrue((short) 32768 == -32768);
	}

	@Test
	public void testLowerBound() {
		assertTrue((short) -32768 == -32768);
		assertTrue((short) -32769 == 32767);
	}
}
<commit_msg>Refactoring: ShortBounds test<commit_after>package building_blocks.bounds;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class ShortBounds {

	@Test
	public void testUpperBound() {
		assertTrue(Short.MAX_VALUE == 32767);
		assertTrue((short) (Short.MAX_VALUE + 1) == Short.MIN_VALUE);
	}

	@Test
	public void testLowerBound() {
		assertTrue(Short.MIN_VALUE == -32768);
		assertTrue((short) (Short.MIN_VALUE - 1) == Short.MAX_VALUE);
	}
}

{'fraction_non_alphanumeric': 0.13610149942329874, 'fraction_numerical': 0.05997693194925029, 'mean_word_length': 4.904761904761905, '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': '7553992', 'n_tokens_mistral': 335, 'n_tokens_neox': 295, 'n_words': 62}