org.apache.commons.math3.util
Class OpenIntToFieldTest
java.lang.Object
org.apache.commons.math3.util.OpenIntToFieldTest
public class OpenIntToFieldTest
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenIntToFieldTest
public OpenIntToFieldTest()
setUp
public void setUp()
throws FractionConversionException
- Throws:
FractionConversionException
testPutAndGetWith0ExpectedSize
public void testPutAndGetWith0ExpectedSize()
testPutAndGetWithExpectedSize
public void testPutAndGetWithExpectedSize()
testPutAndGet
public void testPutAndGet()
testPutAbsentOnExisting
public void testPutAbsentOnExisting()
testPutOnExisting
public void testPutOnExisting()
testGetAbsent
public void testGetAbsent()
testGetFromEmpty
public void testGetFromEmpty()
testRemove
public void testRemove()
testRemove2
public void testRemove2()
testRemoveFromEmpty
public void testRemoveFromEmpty()
testRemoveAbsent
public void testRemoveAbsent()
testCopy
public void testCopy()
testContainsKey
public void testContainsKey()
testIterator
public void testIterator()
testConcurrentModification
public void testConcurrentModification()
testPutKeysWithCollisions
public void testPutKeysWithCollisions()
- Regression test for a bug in findInsertionIndex where the hashing in the second probing
loop was inconsistent with the first causing duplicate keys after the right sequence
of puts and removes.
testPutKeysWithCollision2
public void testPutKeysWithCollision2()
- Similar to testPutKeysWithCollisions() but exercises the codepaths in a slightly
different manner.
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.