public void GetNearestPoint3Test() { var points = AStarPathSearch.GetNearestPoints(_targetPosition, _closeMap1, 2); Assert.NotNull(points); Assert.AreEqual(5, points.Count); }
public void GetNearestPoint1Test() { var points = AStarPathSearch.GetNearestPoints(_targetPosition, _openMap, 1); Assert.NotNull(points); Assert.AreEqual(3, points.Count); }