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);
        }