org.jcoderz.commons.types.samples
Class SampleFixPointTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.types.samples.SampleFixPointTest
All Implemented Interfaces:
Test

public class SampleFixPointTest
extends TestCase

Test the FixPoint class generator.

Author:
Andreas Mandel

Constructor Summary
SampleFixPointTest()
           
 
Method Summary
 void testComparison()
          Test method for comparison.
 void testFractionDigits()
          Test method for fraction digit overflow.
 void testFromString()
          Test method for SampleFixPoint.fromString(java.lang.String).
 void testFromStringDecimal()
          Test method for SampleFixPoint.fromString(java.lang.String).
 void testHashCode()
          Test method for SampleFixPoint.hashCode().
 void testHashCodeSame()
          Test method for SampleFixPoint.hashCode().
 void testIntValue()
          Test method for SampleFixPoint.intValue().
 void testLongValue()
          Test method for SampleFixPoint.longValue().
 void testMalformedString()
          Test method for malformed string.
 void testMaxValue()
          Test method for max value overflow.
 void testMinValue()
          Test method for min value overflow.
 void testStatics()
          Test value of static members.
 void testValueOfBigDecimal()
          Test method for SampleFixPoint.valueOf(java.math.BigDecimal).
 
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

SampleFixPointTest

public SampleFixPointTest()
Method Detail

testHashCode

public void testHashCode()
Test method for SampleFixPoint.hashCode().


testHashCodeSame

public void testHashCodeSame()
Test method for SampleFixPoint.hashCode().


testIntValue

public void testIntValue()
Test method for SampleFixPoint.intValue().


testLongValue

public void testLongValue()
Test method for SampleFixPoint.longValue().


testFromString

public void testFromString()
Test method for SampleFixPoint.fromString(java.lang.String).


testFromStringDecimal

public void testFromStringDecimal()
Test method for SampleFixPoint.fromString(java.lang.String).


testValueOfBigDecimal

public void testValueOfBigDecimal()
Test method for SampleFixPoint.valueOf(java.math.BigDecimal).


testFractionDigits

public void testFractionDigits()
Test method for fraction digit overflow.


testMaxValue

public void testMaxValue()
Test method for max value overflow.


testMinValue

public void testMinValue()
Test method for min value overflow.


testMalformedString

public void testMalformedString()
Test method for malformed string.


testComparison

public void testComparison()
Test method for comparison.


testStatics

public void testStatics()
Test value of static members.



Copyright 2007 The jCoderZ Project.