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

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

            Assert.AreEqual((Byte)1, encoder.ReadNullableUInt8());
        }