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 CheckForNotConnectedNodes() { Assert.IsFalse(graphAsPlusShape.IsConnected(1, 0)); Assert.IsFalse(graphAsPlusShape.IsConnected(0, 1)); Assert.IsFalse(graphAsPlusShape.IsConnected(3, 0)); Assert.IsFalse(graphAsPlusShape.IsConnected(0, 3)); Assert.IsFalse(graphAsPlusShape.IsConnected(3, 4)); Assert.IsFalse(graphAsPlusShape.IsConnected(4, 3)); Assert.IsFalse(graphAsPlusShape.IsConnected(1, 4)); Assert.IsFalse(graphAsPlusShape.IsConnected(4, 1)); Assert.IsFalse(graphAsPlusShape.IsConnected(0, 4)); Assert.IsFalse(graphAsPlusShape.IsConnected(4, 0)); Assert.IsFalse(graphAsPlusShape.IsConnected(1, 3)); Assert.IsFalse(graphAsPlusShape.IsConnected(3, 1)); Assert.IsFalse(graphAsPlusShape.IsConnected(2, 2)); }
See Also