AutoArrangingMenuTests CreatingSetsButtonSizeAndMenuCenter Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CreatingSetsButtonSizeAndMenuCenter()
Examples

[Test, CloseAfterFirstFrame]
public void CreatingSetsButtonSizeAndMenuCenter()
{
    Assert.AreEqual(ButtonSize, menu.ButtonSize);
    Assert.AreEqual(Vector2D.Half, menu.Center);
}
See Also