Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
CreepyTowers.Tests TestWithCreepyTowersMockContentLoaderOrVisually
CreepyTowers.Tests CreepyTowersGameForTests
CreepyTowers.Tests.Stats BuffEffectTests
Namespace: CreepyTowers.Tests.Stats
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The BuffEffectTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BuffEffectTests | Initializes a new instance of the BuffEffectTests class |
Methods
Name | Description | |
---|---|---|
![]() | AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) |
![]() | Dispose | (Inherited from CreepyTowersGameForTests.) |
![]() | Initialize | (Inherited from CreepyTowersGameForTests.) |
![]() | InitializeCreepyTowersMockContentLoader | (Inherited from TestWithCreepyTowersMockContentLoaderOrVisually.) |
![]() | InitializeResolver | (Inherited from TestWithMocksOrVisually.) |
![]() | RegisterMock T | (Inherited from TestWithMocksOrVisually.) |
![]() | Resolve T | (Inherited from TestWithMocksOrVisually.) |
![]() | RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) |
![]() | RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
![]() | SettingsConstructor |
Fields
Name | Description | |
---|---|---|
![]() | game | (Inherited from CreepyTowersGameForTests.) |
Properties
Name | Description | |
---|---|---|
![]() | IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test] public void SettingsConstructor() { var goldBuff = new BuffEffect("TestGoldBuff"); Assert.AreEqual("Gold", goldBuff.Attribute); Assert.AreEqual(2.0f, goldBuff.Multiplier); Assert.AreEqual(-3.0f, goldBuff.Addition); Assert.AreEqual(5.0f, goldBuff.Duration); }
See Also