public virtual void SetMethodDoesntMutateLength() { RLEBitset testSet = (RLEBitset)RLEBitset.CreateFrom(new int[] { }, TEST_SET_LENGTH); testSet.Set(0, true); testSet.Set(1, false); Assert.Equal(TEST_SET_LENGTH, testSet.Length()); }
protected override IBitset CreateSetFromIndices(int[] indices, int length) { return(RLEBitset.CreateFrom(indices, length)); }