BuffTests IsNotExpiredWhenDurationIsZero Method Delta Engine Documentation

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

public void IsNotExpiredWhenDurationIsZero()
Examples

[Test]
public void IsNotExpiredWhenDurationIsZero()
{
    var buff = new Buff(new Stat(0.0f), new BuffEffect("DragonRangeMultiplier")) { Elapsed = 10 };
    Assert.IsFalse(buff.IsExpired);
}
See Also