Package org.apache.calcite.util
Class BitSetsTest
- java.lang.Object
-
- org.apache.calcite.util.BitSetsTest
-
public class BitSetsTest extends java.lang.Object
Unit test forBitSets
.
-
-
Constructor Summary
Constructors Constructor Description BitSetsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
assertToIterBitSet(java.lang.String expected, java.util.BitSet bitSet)
Tests that iterating over a BitSet yields the expected string.void
testBitSetOf()
Tests the methodBitSets.of(int...)
.void
testBitSetOfImmutableIntList()
Tests the methodBitSets.of(ImmutableIntList)
.void
testBitSetsContains()
Tests the methodBitSets.contains(java.util.BitSet, java.util.BitSet)
.void
testBitSetsRange()
Tests the methodBitSets.range(int, int)
.void
testBitSetsToArray()
Tests the methodBitSets.toArray(java.util.BitSet)
.void
testBitSetsUnion()
Tests the methodBitSets.union(java.util.BitSet, java.util.BitSet...)
.void
testClosure()
Tests the methodBitSets.closure(java.util.SortedMap)
void
testPreviousClearBit()
Tests the methodBitSets.previousClearBit(java.util.BitSet, int)
.void
testToIterBitSet()
Tests the methodBitSets.toIter(java.util.BitSet)
.void
testToListBitSet()
Tests the methodBitSets.toList(java.util.BitSet)
.
-
-
-
Method Detail
-
testToIterBitSet
public void testToIterBitSet()
Tests the methodBitSets.toIter(java.util.BitSet)
.
-
assertToIterBitSet
private void assertToIterBitSet(java.lang.String expected, java.util.BitSet bitSet)
Tests that iterating over a BitSet yields the expected string.- Parameters:
expected
- Expected stringbitSet
- Bit set
-
testToListBitSet
public void testToListBitSet()
Tests the methodBitSets.toList(java.util.BitSet)
.
-
testBitSetOf
public void testBitSetOf()
Tests the methodBitSets.of(int...)
.
-
testBitSetsRange
public void testBitSetsRange()
Tests the methodBitSets.range(int, int)
.
-
testBitSetsToArray
public void testBitSetsToArray()
Tests the methodBitSets.toArray(java.util.BitSet)
.
-
testBitSetsUnion
public void testBitSetsUnion()
Tests the methodBitSets.union(java.util.BitSet, java.util.BitSet...)
.
-
testBitSetsContains
public void testBitSetsContains()
Tests the methodBitSets.contains(java.util.BitSet, java.util.BitSet)
.
-
testBitSetOfImmutableIntList
public void testBitSetOfImmutableIntList()
Tests the methodBitSets.of(ImmutableIntList)
.
-
testPreviousClearBit
public void testPreviousClearBit()
Tests the methodBitSets.previousClearBit(java.util.BitSet, int)
.
-
testClosure
public void testClosure()
Tests the methodBitSets.closure(java.util.SortedMap)
-
-