public void TestEmptyPacketStreamSizeOne() { PacketStream stream = new PacketStream(); stream.Push(new byte[] { 0x01 }, 1); Assert.AreEqual(1, stream.Size()); }
public void TestEmptyPacketStreamSizeZero() { PacketStream stream = new PacketStream(); Assert.AreEqual(0, stream.Size()); }