PercentageBarTests ValueIncreasesIfBelowNewMinimum 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 ValueIncreasesIfBelowNewMinimum()
Examples

[Test, CloseAfterFirstFrame]
public void ValueIncreasesIfBelowNewMinimum()
{
    bar.Value = 50;
    bar.Minimum = 60;
    Assert.AreEqual(60, bar.Value);
    Assert.AreEqual(Color.Red, bar.Color);
}
See Also