public void SinglePurchase_Set_Get(bool value) { var packet = new NpcShopInventory(); packet.SinglePurchase = value; Assert.Equal(value, packet.SinglePurchase); }
public void Price_Set_Get() { var packet = new NpcShopInventory(); packet.Price = 100; Assert.Equal(100, packet.Price); }
public void Prefix_Set_Get() { var packet = new NpcShopInventory(); packet.Prefix = ItemPrefix.Unreal; Assert.Equal(ItemPrefix.Unreal, packet.Prefix); }
public void StackSize_Set_Get() { var packet = new NpcShopInventory(); packet.StackSize = 1; Assert.Equal(1, packet.StackSize); }
public void Id_Set_Get() { var packet = new NpcShopInventory(); packet.Id = ItemId.Sdmg; Assert.Equal(ItemId.Sdmg, packet.Id); }
public void Slot_Set_Get() { var packet = new NpcShopInventory(); packet.Slot = 3; Assert.Equal(3, packet.Slot); }