public void BitBufferTests() { BitBuffer bitBuffer = new BitBuffer(10); bitBuffer.SetBits(3, 3, new BitArray32(5)); Assert.AreEqual((int)bitBuffer.GetBits(3, 3).Data, 5); }