InteractiveButtonTests FinishingClickMakesItGrow Method Delta Engine Documentation

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

public void FinishingClickMakesItGrow()
Examples

[Test, CloseAfterFirstFrame]
public void FinishingClickMakesItGrow()
{
    if (mouse == null)
        return; //ncrunch: no coverage
    SetMouseState(State.Pressing, Vector2D.Half);
    SetMouseState(State.Releasing, Vector2D.Half);
    Assert.IsTrue(button.Size.Width > BaseSize.Width);
}
See Also