Exemplo n.º 1
0
        public void ExactBitLengthShouldTakeAllBitsAfterMostSignificantBit(string hex, int expectedResult)
        {
            var value = new BitString(hex).ToPositiveBigInteger();

            Assert.AreEqual(expectedResult, value.ExactBitLength());
        }