示例#1
0
        public void ShowKBitTest()
        {
            List <char> result = new List <char>();

            List <char> expected = new List <char>()
            {
                '0', '1', '0', '1'
            };

            result.Add(_part1.ShowKBit(2, 0));
            result.Add(_part1.ShowKBit(2, 1));
            result.Add(_part1.ShowKBit(8, 1));
            result.Add(_part1.ShowKBit(11, 1));



            Assert.IsTrue(expected.SequenceEqual(result));
        }