BaseDocIdSetTestCase

Base test class for DocIdSets.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun assertEquals(numBits: Int, ds1: BitSet, ds2: T)

Assert that the content of the DocIdSet is the same as the content of the BitSet.

Link copied to clipboard
abstract fun copyOf(bs: BitSet, length: Int): T

Create a copy of the given BitSet which has length bits.

Link copied to clipboard
Link copied to clipboard
open fun test1Bit()

Test length=1.

Link copied to clipboard
open fun test2Bits()

Test length=2.

Link copied to clipboard

Compare the content of the set against a BitSet.

Link copied to clipboard
open fun testIntoBitSet()
Link copied to clipboard
Link copied to clipboard
open fun testNoBit()

Test length=0.

Link copied to clipboard
open fun testRamBytesUsed()

Test ram usage estimation.