BitSharper.Test.VarIntTest.TestShorts C# (CSharp) Méthode

TestShorts() private méthode

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