package com.alexrnl.commons.utils.object;

import static org.junit.Assert.fail;

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

/**
 * Test suite for the {@link AutoHashCode} class.
 * @author Alex
 */
public class AutoHashCodeTest {
	
	/**
	 * Set up attributes.
	 */
	@Before
	public void setUp () {
	}
	
	/**
	 * Test method for {@link com.alexrnl.commons.utils.object.AutoHashCode#hashCode(java.lang.Object)}.
	 */
	@Test
	public void testHashCodeObject () {
		fail("Not yet implemented"); // TODO
	}
}

@@ -47,261 +47,551 @@
 ort 
-static org.junit.Assert.fail;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A/**%0A * Test suite for the %7B@link AutoHashCode%7D class.%0A * @author Alex%0A */%0Apublic class AutoHashCodeTest %7B%0A%09%0A%09/**%0A%09 * Set up attributes.%0A%09 */%0A%09@Before%0A%09public void setUp () %7B
+java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport com.alexrnl.commons.utils.object.AutoCompareTest.ComparedClass;%0A%0A/**%0A * Test suite for the %7B@link AutoHashCode%7D class.%0A * @author Alex%0A */%0Apublic class AutoHashCodeTest %7B%0A%09/** The test object for the auto hash code method. */%0A%09private ComparedClass testObject;%0A%09%0A%09/**%0A%09 * Set up attributes.%0A%09 */%0A%09@Before%0A%09public void setUp () %7B%0A%09%09testObject = new ComparedClass(%22test%22, new Integer%5B%5D %7B 2, 8 %7D, false, new double%5B%5D %7B 0.314159 %7D);
 %0A%09%7D%0A
@@ -754,44 +754,127 @@
 %7B%0A%09%09
-fail(%22Not yet implemented%22); // TODO
+Logger.getLogger(AutoHashCode.class.getName()).setLevel(Level.FINE);%0A%09%09AutoHashCode.getInstance().hashCode(testObject);
 %0A%09%7D%0A

Implement tests for the AutoHashCode class