BlowfishJ.test
Class BinConverterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by BlowfishJ.test.BinConverterTest
All Implemented Interfaces:
junit.framework.Test

public class BinConverterTest
extends junit.framework.TestCase

Test cases for the binary converters.


Constructor Summary
BinConverterTest()
           
 
Method Summary
 void testByteArrayToInt()
           
 void testByteArrayToLong()
           
 void testByteArrayToStr()
           
 void testBytesToHexStr()
           
 void testhexStrToBytes()
           
 void testIntArrayToLong()
           
 void testIntToByteArray()
           
 void testLongHi32()
           
 void testLongLo32()
           
 void testLongToByteArray()
           
 void testLongToIntArray()
           
 void testMakeLong()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinConverterTest

public BinConverterTest()
Method Detail

testByteArrayToInt

public final void testByteArrayToInt()

testIntToByteArray

public final void testIntToByteArray()

testByteArrayToLong

public final void testByteArrayToLong()

testLongToByteArray

public final void testLongToByteArray()

testIntArrayToLong

public final void testIntArrayToLong()

testLongToIntArray

public final void testLongToIntArray()

testMakeLong

public final void testMakeLong()

testLongLo32

public final void testLongLo32()

testLongHi32

public final void testLongHi32()

testBytesToHexStr

public final void testBytesToHexStr()

testhexStrToBytes

public final void testhexStrToBytes()

testByteArrayToStr

public final void testByteArrayToStr()