<commit_before>package edu.wheaton.simulator.test.statistics;

/**
 * A JUnit test case for testing FieldSnapshot.java.
 * 
 * @author <NAME>
 * Wheaton College, CSCI 335
 * Spring 2013
 */

import junit.framework.Assert;

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

import edu.wheaton.simulator.statistics.FieldSnapshot;

public class FieldSnapshotCase {

	@Before
	public void setUp() {
		//TODO FieldSnapshotCase.setUp() is empty
	}

	@After
	public void tearDown() {
		//TODO FieldSnapshotCase.setUp() is empty
	}

	@Test
	public void test() {
		//fail("Not yet implemented");
	}

	@Test
	public void fieldSnapshotTest() {
		FieldSnapshot fieldSnap = new FieldSnapshot("name", "akon");
		Assert.assertNotNull(fieldSnap);
		FieldSnapshot fieldSnapWithInt = new FieldSnapshot("akon", "12345");
		Assert.assertNotNull(fieldSnapWithInt);
	}
}<commit_msg>Fixed FieldSnapshotCase.java to test for a particular boolean condition<commit_after>package edu.wheaton.simulator.test.statistics;

/**
 * A JUnit test case for testing FieldSnapshot.java.
 * 
 * @author <NAME>
 * Wheaton College, CSCI 335
 * Spring 2013
 */

import junit.framework.Assert;
import junit.framework.AssertionFailedError;

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

import edu.wheaton.simulator.statistics.FieldSnapshot;

public class FieldSnapshotCase {

	@Before
	public void setUp() {
		//TODO FieldSnapshotCase.setUp() is empty
	}

	@After
	public void tearDown() {
		//TODO FieldSnapshotCase.setUp() is empty
	}

	@Test
	public void test() {
		//fail("Not yet implemented");
	}

	@Test
	public void fieldSnapshotTest() {
		FieldSnapshot fieldSnap = new FieldSnapshot("name", "akon");
		Assert.assertNotNull(fieldSnap);
		Assert.assertFalse(fieldSnap.isNumber);
		FieldSnapshot fieldSnapWithInt = new FieldSnapshot("akon", "12345");
		Assert.assertTrue(fieldSnapWithInt.isNumber);
		Assert.assertNotNull(fieldSnapWithInt);
	}
}
{'fraction_non_alphanumeric': 0.1153649821337417, 'fraction_numerical': 0.01225114854517611, 'mean_word_length': 4.730994152046784, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2369495', 'n_tokens_mistral': 676, 'n_tokens_neox': 627, 'n_words': 150}