Class ImmutableBitSetTest


  • public class ImmutableBitSetTest
    extends java.lang.Object
    Unit test for ImmutableBitSet.
    • Constructor Detail

      • ImmutableBitSetTest

        public ImmutableBitSetTest()
    • Method Detail

      • testIterator

        public void testIterator()
        Tests the method ImmutableBitSet.iterator().
      • assertToIterBitSet

        private void assertToIterBitSet​(java.lang.String expected,
                                        org.apache.calcite.util.ImmutableBitSet bitSet)
        Tests that iterating over an ImmutableBitSet yields the expected string.
        Parameters:
        expected - Expected string
        bitSet - Bit set
      • testToList

        public void testToList()
        Tests the method ImmutableBitSet.toList().
      • testRange

        public void testRange()
        Tests the method BitSets.range(int, int).
      • testCompare

        public void testCompare()
      • testCompare2

        public void testCompare2()
      • getSortedList

        private java.util.List<org.apache.calcite.util.ImmutableBitSet> getSortedList()
      • testToArray

        public void testToArray()
        Tests the method ImmutableBitSet.toArray().
      • testAsList

        public void testAsList()
        Tests the methods ImmutableBitSet.toList(), and ImmutableBitSet.asList() and ImmutableBitSet.asSet().
      • testUnion

        public void testUnion()
        Tests the method ImmutableBitSet.union(ImmutableBitSet).
      • testIntersect

        public void testIntersect()
      • testBitSetsContains

        public void testBitSetsContains()
        Tests the method ImmutableBitSet.contains(org.apache.calcite.util.ImmutableBitSet).
      • testBitSetOfImmutableIntList

        public void testBitSetOfImmutableIntList()
        Tests the method ImmutableBitSet.of(org.apache.calcite.util.ImmutableIntList).
      • testPreviousClearBit

        public void testPreviousClearBit()
        Tests the method ImmutableBitSet.previousClearBit(int).
      • testBuilder

        public void testBuilder()
      • testBuilderUseOriginal

        public void testBuilderUseOriginal()
        Unit test for ImmutableBitSet.Builder.build(ImmutableBitSet).
      • testIndexOf

        public void testIndexOf()
      • testNth

        public void testNth()
      • testClosure

        public void testClosure()
        Tests the method BitSets.closure(java.util.SortedMap).
      • testPowerSet

        public void testPowerSet()
      • testCreateLongs

        public void testCreateLongs()
      • testCreateLongBuffer

        public void testCreateLongBuffer()
      • testToLongArray

        public void testToLongArray()
      • testSet

        public void testSet()
      • testClear

        public void testClear()
      • testSet2

        public void testSet2()
      • testShift

        public void testShift()
      • testGet2

        public void testGet2()