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

            Assert.AreEqual(-1, encoder.ReadSInt64());
        }
Esempio n. 2
0
        public void ReadSInt64_1()
        {
            var encoder = new ClassicDecoder(StringToBuffer("08-00-01-00-00-00-00-00-00-00"));

            Assert.AreEqual(1, encoder.ReadSInt64());
        }