org.springframework.rules.support
Class NumberComparatorTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.rules.support.NumberComparatorTests
All Implemented Interfaces:
junit.framework.Test

public class NumberComparatorTests
extends junit.framework.TestCase

Testcase for NumberComparator

Author:
Peter De Bruycker

Constructor Summary
NumberComparatorTests()
           
 
Method Summary
 void testCompareDifferentTypesEqual()
           
 void testCompareDifferentTypesLarger()
           
 void testCompareDifferentTypesSmaller()
           
 void testCompareDoubles()
           
 void testCompareFloats()
           
 void testCompareIntegers()
           
 void testCompareLongs()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberComparatorTests

public NumberComparatorTests()
Method Detail

testCompareIntegers

public void testCompareIntegers()

testCompareLongs

public void testCompareLongs()

testCompareFloats

public void testCompareFloats()

testCompareDoubles

public void testCompareDoubles()

testCompareDifferentTypesEqual

public void testCompareDifferentTypesEqual()

testCompareDifferentTypesSmaller

public void testCompareDifferentTypesSmaller()

testCompareDifferentTypesLarger

public void testCompareDifferentTypesLarger()


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.