BitSharper.Test.VarIntTest.TestShorts C# (CSharp) Method

TestShorts() private method

private TestShorts ( ) : void
return 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);
        }