コード例 #1
0
        public void ReadNullableDouble_1()
        {
            var encoder = new ClassicDecoder(StringToBuffer("09-00-01-00-00-00-00-00-00-F0-3F"));

            Assert.AreEqual(1, encoder.ReadNullableDouble());
        }
コード例 #2
0
        public void ReadNullableDouble_Null()
        {
            var encoder = new ClassicDecoder(StringToBuffer("01-00-00"));

            Assert.AreEqual(null, encoder.ReadNullableDouble());
        }