GraphTests CheckAdjacentLinks Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic.PathFinding.Tests
Assembly: DeltaEngine.GameLogic.PathFinding.Tests (in DeltaEngine.GameLogic.PathFinding.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CheckAdjacentLinks()
Examples

[Test]
public void CheckAdjacentLinks()
{
    Assert.AreEqual(4, graphAsPlusShape.AdjacentLinks[2].Count);
    Assert.AreEqual(1, graphAsPlusShape.AdjacentLinks[0].Count);
    Assert.AreEqual(1, graphAsPlusShape.AdjacentLinks[1].Count);
    Assert.AreEqual(1, graphAsPlusShape.AdjacentLinks[3].Count);
    Assert.AreEqual(1, graphAsPlusShape.AdjacentLinks[4].Count);
}
See Also