public void ShootProjectileType_Set_Get() { var packet = new ItemTweak(); packet.ShootProjectileType = 1; Assert.Equal(1, packet.ShootProjectileType.Value); }
public void ShootSpeed_Set_Get() { var packet = new ItemTweak(); packet.ShootSpeed = 1; Assert.Equal(1, packet.ShootSpeed.Value); }
public void AnimationTime_Set_Get() { var packet = new ItemTweak(); packet.AnimationTime = 1; Assert.Equal(1, packet.AnimationTime.Value); }
public void UseTime_Set_Get() { var packet = new ItemTweak(); packet.UseTime = 1; Assert.Equal(1, packet.UseTime.Value); }
public void Damage_Set_Get() { var packet = new ItemTweak(); packet.Damage = 1; Assert.Equal(1, packet.Damage.Value); }
public void Knockback_Set_Get() { var packet = new ItemTweak(); packet.Knockback = 1; Assert.Equal(1, packet.Knockback.Value); }
public void Color_SetNullValue() { var packet = new ItemTweak(); packet.Color = null; Assert.Null(packet.Color); }
public void Color_Set_Get() { var packet = new ItemTweak(); packet.Color = new Color3(128, 128, 128); Assert.Equal(new Color3(128, 128, 128), packet.Color); }
public void ItemIndex_Set_Get() { var packet = new ItemTweak(); packet.ItemIndex = 1; Assert.Equal(1, packet.ItemIndex); }
public void NotRealAmmo_Set_Get(bool value) { var packet = new ItemTweak(); packet.NotRealAmmo = value; Assert.Equal(value, packet.NotRealAmmo); }
public void AmmoRequiredToUseItem_Set_Get() { var packet = new ItemTweak(); packet.AmmoRequiredToUseItem = 1; Assert.Equal(1, packet.AmmoRequiredToUseItem.Value); }
public void AmmoType_Set_Get() { var packet = new ItemTweak(); packet.AmmoType = 1; Assert.Equal(1, packet.AmmoType.Value); }
public void Scale_Set_Get() { var packet = new ItemTweak(); packet.Scale = 1; Assert.Equal(1, packet.Scale.Value); }
public void Height_Set_Get() { var packet = new ItemTweak(); packet.Height = 1; Assert.Equal(1, packet.Height.Value); }
public void Width_Set_Get() { var packet = new ItemTweak(); packet.Width = 1; Assert.Equal(1, packet.Width.Value); }