Esempio n. 1
0
        public void SinglePurchase_Set_Get(bool value)
        {
            var packet = new NpcShopInventory();

            packet.SinglePurchase = value;

            Assert.Equal(value, packet.SinglePurchase);
        }
Esempio n. 2
0
        public void Price_Set_Get()
        {
            var packet = new NpcShopInventory();

            packet.Price = 100;

            Assert.Equal(100, packet.Price);
        }
Esempio n. 3
0
        public void Prefix_Set_Get()
        {
            var packet = new NpcShopInventory();

            packet.Prefix = ItemPrefix.Unreal;

            Assert.Equal(ItemPrefix.Unreal, packet.Prefix);
        }
Esempio n. 4
0
        public void StackSize_Set_Get()
        {
            var packet = new NpcShopInventory();

            packet.StackSize = 1;

            Assert.Equal(1, packet.StackSize);
        }
Esempio n. 5
0
        public void Id_Set_Get()
        {
            var packet = new NpcShopInventory();

            packet.Id = ItemId.Sdmg;

            Assert.Equal(ItemId.Sdmg, packet.Id);
        }
Esempio n. 6
0
        public void Slot_Set_Get()
        {
            var packet = new NpcShopInventory();

            packet.Slot = 3;

            Assert.Equal(3, packet.Slot);
        }