GroupPropertiesXmlTests TestGroupPropertiesXml Method Delta Engine Documentation

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

public void TestGroupPropertiesXml()
Examples

[Test, CloseAfterFirstFrame]
public void TestGroupPropertiesXml()
{
    var groupData = groupProperties.Get(CreepGroups.Paper2);
    Assert.AreEqual(0.5f, groupData.CreepSpawnInterval);
    Assert.AreEqual("Paper2", groupData.Name);
    var list = new List<CreepType> { CreepType.Paper, CreepType.Paper };
    Assert.AreEqual(list, groupData.CreepList);
}
See Also