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 CheckNodePositions() { Assert.AreEqual(new Vector2D(0, 0), grid3X2.GetNode(0).Position); Assert.AreEqual(new Vector2D(1, 0), grid3X2.GetNode(1).Position); Assert.AreEqual(new Vector2D(2, 0), grid3X2.GetNode(2).Position); Assert.AreEqual(new Vector2D(0, 1), grid3X2.GetNode(3).Position); Assert.AreEqual(new Vector2D(1, 1), grid3X2.GetNode(4).Position); Assert.AreEqual(new Vector2D(2, 1), grid3X2.GetNode(5).Position); }
See Also