Пример #1
0
        public void SubTest3()
        {
            string hex1 = "A";
            string hex2 = "T";
            string hex;

            hex = HexInt.Subsruct(hex1, hex2);
        }
Пример #2
0
        public void SubTest2()
        {
            string hex1 = "F";
            string hex2 = "A";
            string hex;

            hex = HexInt.Subsruct(hex1, hex2);
            Assert.AreEqual("5", hex);
        }
Пример #3
0
        public void SubTest1()
        {
            string hex1 = "F";
            string hex2 = "A";
            int    dec;

            dec = HexInt.HexToDec(HexInt.Subsruct(hex1, hex2));
            Assert.AreEqual(5, dec);
        }