<commit_before>package queue;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class QueueTest {
	private static Queue<String> q = new Queue<String>();

	@Before
	public void setUp() throws Exception {
		System.out.println("size: " + q.size());
		q.clear();
	}

	@Test
	public void testEnqueue() {
		q.enqueue("1");
		q.enqueue("2");
		
		assertEquals(2, q.size());
		assertEquals(false, q.isEmpty());
	}

	@Test
	public void testDequeue() {<commit_msg>update java queue<commit_after>package queue;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class QueueTest {
	private static Queue<String> q = new Queue<String>();

	@Before
	public void setUp() throws Exception {
		q = new Queue<String>();
	}

	@Test
	public void testEnqueue() {
		q.enqueue("1");
		q.enqueue("2");
		
		assertEquals(2, q.size());
		assertEquals(false, q.isEmpty());
	}

	@Test
	public void testDequeue() {
{'fraction_non_alphanumeric': 0.15511892450879008, 'fraction_numerical': 0.0062047569803516025, 'mean_word_length': 4.260869565217392, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3796139', 'n_tokens_mistral': 356, 'n_tokens_neox': 328, 'n_words': 84}