AStarSearchTests SearchForPathBetweenNodes 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 SearchForPathBetweenNodes()
Examples

[Test]
public void SearchForPathBetweenNodes()
{
    Assert.IsTrue(aStar.Search(graph, 0, 2));
    Assert.IsTrue(aStar.Search(graph, 1, 5));
    Assert.IsFalse(aStar.Search(graph, 5, 2));
}
See Also