Esempio n. 1
0
        public void GenerateInPacketIsNotCorruptedForItem()
        {
            var mapItemTest = new MapItem();

            var packet = PacketFactory.Serialize(new[] { mapItemTest.GenerateIn() });

            Assert.AreEqual($"in 9 - {mapItemTest.VisualId} 0 0 {mapItemTest.Amount} 0 0", packet);
        }
Esempio n. 2
0
        public void GenerateInPacketIsNotCorruptedForItem()
        {
            var mapItemTest = new MapItem();

            var packet = PacketFactory.Serialize(mapItemTest.GenerateIn());

            Assert.AreEqual("in 9 - 0 0 0 0 0 0 0", packet);
        }