Namespace: CreepyTowers.Tests.Triggers
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
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