Пример #1
0
        public void SetKBitTest0()
        {
            string btn       = "11011101";
            uint   num       = Convert.ToUInt32(btn, 2);
            uint   result    = _part1.SetKBit(num, 0, 0);
            string btnResult = "11011100";

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