BitSharper.Test.VarIntTest.TestShorts C# (CSharp) 메소드

TestShorts() 개인적인 메소드

private TestShorts ( ) : void
리턴 void
        public void TestShorts()
        {
            var a = new VarInt(64000);
            Assert.AreEqual(3, a.SizeInBytes);
            Assert.AreEqual(3, a.Encode().Length);
            Assert.AreEqual(64000UL, new VarInt(a.Encode(), 0).Value);
        }