StartingGoldTests TestStartingGold Method Delta Engine Documentation

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

public void TestStartingGold()
Examples

[Test, CloseAfterFirstFrame]
public void TestStartingGold()
{
    var trigger = new StartingGold("50");
    Assert.AreEqual(50, trigger.Gold);
    var player = new Player();
    GameTrigger.OnGameStarting();
    Assert.AreEqual(trigger.Gold, player.Gold);
}
See Also