|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.util.HashCodeTest
public class HashCodeTest
JUnit tests for class HashCode.
| Constructor Summary | |
|---|---|
HashCodeTest()
|
|
| Method Summary | |
|---|---|
void |
testHash()
Tests the method HashCode.hash(boolean). |
void |
testToInt()
Tests the method HashCode.toInt(). |
void |
testToIntInitialValue()
Tests the method HashCode.toInt(). |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HashCodeTest()
| Method Detail |
|---|
public void testToInt()
HashCode.toInt().
public void testToIntInitialValue()
HashCode.toInt().
public void testHash()
HashCode.hash(boolean).
Tests the method HashCode.hash(char).
Tests the method HashCode.hash(double).
Tests the method HashCode.hash(float).
Tests the method HashCode.hash(int).
Tests the method HashCode.hash(Object).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||