GameTests AffixingBlockAddsToScore Method Delta Engine Documentation

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

public void AffixingBlockAddsToScore()
Examples

[Test, CloseAfterFirstFrame]
public void AffixingBlockAddsToScore()
{
    game.StartGame();
    Assert.AreEqual(0, game.UserInterface.Score);
    AdvanceTimeAndUpdateEntities(10.0f);
    Assert.AreEqual(1, game.UserInterface.Score);
}
See Also