Exemple #1
0
        public void ShouldShiftBitsRight()
        {
            var array1 = new BitArray(new[] { true, false, false, false });
            var result = array1.BitShiftRight();

            Assert.AreEqual(new BitArray(new[] { false, false, false, false }), result);
        }