public class BitKeyTest
extends junit.framework.TestCase
BitKey
.Constructor and Description |
---|
BitKeyTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
testAnd()
Tests the 'and' operation on BitKeys
|
void |
testAndNot()
Tests the
BitKey.andNot(BitKey) operation. |
void |
testBadSize()
Test that negative size throws IllegalArgumentException.
|
void |
testClear()
Test that after clear the internal values are 0.
|
void |
testCompareTo()
Tests the 'compareTo' operation on BitKeys
|
void |
testCompareUnsigned() |
void |
testCompareUnsignedLongArrays() |
void |
testCreateFromBitSet() |
void |
testEmptyCopyCreatesBitKeyOfTheSameSize() |
void |
testEquals()
Test for equals and not equals
|
void |
testGoodSize()
Test that non-negative sizes do not throw IllegalArgumentException
|
void |
testHashCode() |
void |
testIntersects()
Tests the 'intersects' operation on BitKeys
|
void |
testIsEmpty() |
void |
testIsSuperSetOf()
This test is one BitKey is a subset of another.
|
void |
testIterator() |
void |
testNewBitKeyIsTheSameAsAClearedBitKey() |
void |
testNotEquals()
Test for not equals and not equals
|
void |
testOr()
Tests the 'or' operation on BitKeys
|
void |
testOrNot()
Tests the 'nor' operation on BitKeys
|
void |
testSizeTypes()
Test that the implementation object returned is expected type.
|
void |
testToBitSet()
Tests the
BitKey.toBitSet() method. |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public BitKeyTest(String name)
public void testBadSize()
public void testGoodSize()
public void testSizeTypes()
public void testEquals()
public void testHashCode()
public void testNotEquals()
public void testClear()
public void testNewBitKeyIsTheSameAsAClearedBitKey()
public void testEmptyCopyCreatesBitKeyOfTheSameSize()
public void testIsSuperSetOf()
public void testOr()
public void testOrNot()
public void testAnd()
public void testAndNot()
BitKey.andNot(BitKey)
operation.public void testIntersects()
public void testToBitSet()
BitKey.toBitSet()
method.public void testCompareTo()
public void testCreateFromBitSet()
public void testIsEmpty()
public void testIterator()
public void testCompareUnsigned()
public void testCompareUnsignedLongArrays()