BitSharper.Test.VarIntTest.TestBytes C# (CSharp) Метод

TestBytes() приватный Метод

private TestBytes ( ) : void
Результат void
        public void TestBytes()
        {
            var a = new VarInt(10);
            Assert.AreEqual(1, a.SizeInBytes);
            Assert.AreEqual(1, a.Encode().Length);
            Assert.AreEqual(10UL, new VarInt(a.Encode(), 0).Value);
        }