Esempio n. 1
0
        public void ReadNullableSInt8_Null()
        {
            var encoder = new ClassicDecoder(StringToBuffer("01-00-00"));

            Assert.AreEqual(null, encoder.ReadNullableSInt8());
        }
Esempio n. 2
0
        public void ReadNullableSInt8_1()
        {
            var encoder = new ClassicDecoder(StringToBuffer("02-00-01-01"));

            Assert.AreEqual((SByte)1, encoder.ReadNullableSInt8());
        }