public void Position_Set_Get() { var packet = new PlayerPortal(); packet.Position = new Vector2f(1.23F, 4.56F); Assert.Equal(new Vector2f(1.23F, 4.56F), packet.Position); }
public void Velocity_Set_Get() { var packet = new PlayerPortal(); packet.Velocity = new Vector2f(1.23F, 4.56F); Assert.Equal(new Vector2f(1.23F, 4.56F), packet.Velocity); }
public void PortalColorIndex_Set_Get() { var packet = new PlayerPortal(); packet.PortalColorIndex = 1; Assert.Equal(1, packet.PortalColorIndex); }