Namespace: DeltaEngine.GameLogic.PathFinding.Tests
Assembly: DeltaEngine.GameLogic.PathFinding.Tests (in DeltaEngine.GameLogic.PathFinding.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.GameLogic.PathFinding.Tests (in DeltaEngine.GameLogic.PathFinding.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void CheckForConnectedNodes() { Assert.IsTrue(graphAsPlusShape.IsConnected(2, 0)); Assert.IsTrue(graphAsPlusShape.IsConnected(0, 2)); Assert.IsTrue(graphAsPlusShape.IsConnected(2, 1)); Assert.IsTrue(graphAsPlusShape.IsConnected(1, 2)); Assert.IsTrue(graphAsPlusShape.IsConnected(2, 3)); Assert.IsTrue(graphAsPlusShape.IsConnected(3, 2)); Assert.IsTrue(graphAsPlusShape.IsConnected(2, 4)); Assert.IsTrue(graphAsPlusShape.IsConnected(4, 2)); }
See Also