示例#1
0
        public void ResetMLowBitTest()
        {
            string btn       = "11011101";
            uint   num       = Convert.ToUInt32(btn, 2);
            uint   result    = _part1.ResetMLowBit(num, 5);
            string btnResult = "11000000";

            Assert.AreEqual(btnResult, Convert.ToString(result, 2));
        }