StatAdjustmentTests ConstructedFromXml 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 ConstructedFromXml()
Examples

[Test]
public void ConstructedFromXml()
{
    var effect = new StatAdjustment("TestAdjustment");
    Assert.AreEqual("Hp", effect.Attribute);
    Assert.AreEqual("", effect.Resist);
    Assert.AreEqual(-100.0f, effect.Adjustment);
}
See Also