BaseBitSetTestCase

Base test case for BitSets.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

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 testCardinality()

Test the BitSet.cardinality method.

Link copied to clipboard
open fun testClear()

Test the BitSet.clear method.

Link copied to clipboard
open fun testClearAll()

Test the BitSet.clear all method.

Link copied to clipboard
open fun testClearRange()

Test the BitSet.clear range method.

Link copied to clipboard
open fun testGetAndSet()

Test the BitSet.getAndSet method.

Link copied to clipboard
Link copied to clipboard

Test BitSet.nextSetBit with range.

Link copied to clipboard
open fun testOrDense()

Test BitSet.or on dense sets.

Link copied to clipboard
open fun testOrRandom()

Test BitSet.or on a random density.

Link copied to clipboard
open fun testOrSparse()

Test BitSet.or on sparse sets.

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

Test the BitSet.set method.