org.jcoderz.commons.util
Class HashCodeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.util.HashCodeTest
All Implemented Interfaces:
Test

public class HashCodeTest
extends TestCase

JUnit tests for class HashCode.

Author:
Michael Griffel

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

HashCodeTest

public HashCodeTest()
Method Detail

testToInt

public void testToInt()
Tests the method HashCode.toInt().


testToIntInitialValue

public void testToIntInitialValue()
Tests the method HashCode.toInt().


testHash

public void testHash()
Tests the method 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).



Copyright 2007 The jCoderZ Project.