public void TestRead() { var reader = new BitVectorReader(new BitVector(ByteUtil.ConvertBitStringToFastByteArray("11000000"))); Assert.IsTrue(reader.Read()); Assert.IsFalse(reader.Read()); Assert.IsFalse(reader.HasMoreBitsSet()); }
static BitVectorReader() { Null = new NullBitVectorReader(null); InfiniteTrue = new InfiniteBitVectorReader(null); }