示例#1
0
        public void 십진수_1을_2진수로_변환()
        {
            SecretMap map         = new SecretMap(5);
            string    binaryValue = map.BinaryConvert(1);

            Assert.AreEqual("00001", binaryValue);
        }
示例#2
0
        public void 십진수_20을_2진수로_변환()
        {
            SecretMap map         = new SecretMap(5);
            string    binaryValue = map.BinaryConvert(20);

            Assert.AreEqual("10100", binaryValue);
        }