public void ConvertBase10ToBinary()
        {
            // ARRANGE
            BitManipulation bitM = new BitManipulation();

            // ACT
            string binaryString = bitM.ConvertBase10ToBinary(123);

            // ASSERT
            Assert.AreEqual("01111011", binaryString);
        }
        public void CountNumberOfOnesInNumber()
        {
            // ARRANGE
            BitManipulation bitM = new BitManipulation();

            // ACT
            int countedOnes = bitM.CountNumberOfOnesInNumber(123);

            // ASSERT
            Assert.AreEqual(6, countedOnes);
        }
        public void BitXOr()
        {
            // ARRANGE
            BitManipulation bitM = new BitManipulation();

            // ACT
            int comparedBit = bitM.XOrBit(3, 5);

            // ASSERT
            Assert.AreEqual(6, comparedBit);
        }
        public void ShiftLeftOnePlace()
        {
            // ARRANGE

            BitManipulation bitM = new BitManipulation();

            // ACT
            int shifted = bitM.ShiftLeftOnePlace(1);

            // ASSERT
            Assert.AreEqual(2, shifted);
        }