StartupScreenTests RaisingGameStarted Method Delta Engine Documentation

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

public void RaisingGameStarted()
Examples

[Test, Ignore]
public void RaisingGameStarted()
{
    int isGameStartedCount = 0;
    var screen = Resolve<StartupScreen>();
    screen.GameStarted += () => isGameStartedCount++;
    screen.StartGame();
    Assert.AreEqual(1, isGameStartedCount);
    Resolve<Window>().CloseAfterFrame();
}
See Also