public void GSetPointInMap_Points_PointFromMap(int y, int x, int ourValue) { MyMap map = new MyMap(); map.SetPointInMap(y, x, ourValue); Assert.That(ourValue, Is.EqualTo(map.GetPointInMap(y, x))); }
public void SetPointInMap_Points_PointFromMap(int y, int x, int ourValue) { MyMap map = new MyMap(); ConsoleLib.Coord newCoord = new ConsoleLib.Coord(0, 10); map.SetPointInMap(newCoord, ourValue); Assert.That(ourValue, Is.EqualTo(map.GetPointInMap(newCoord.y, newCoord.x))); }
public int GetPointInMap_Points_PointFromMap(int y, int x) { MyMap map = new MyMap(); return(map.GetPointInMap(y, x)); }