ColorChanger NextColor Property Delta Engine Documentation

Namespace: EmptyApp
Assembly: EmptyApp (in EmptyApp.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public Color NextColor { get; }

Property Value

Type: Color
Remarks

Tests: EmptyApp.Tests.ColorChangerTests
Examples

1 unit tests call EmptyApp.ColorChanger.NextColor
[Test]
public void CheckIfBackgroundColorWasChangedAfterOneSecond()
{
    var app = new ColorChanger(Resolve<Window>());
    var initialColor = new Color();
    AdvanceTimeAndUpdateEntities(1.0f);
    Assert.AreNotEqual(initialColor, app.NextColor);
}
See Also