public void ToStringWithPlayerX() { Cell cell = new Cell(new Location(2, 3)); cell.IsOccupied = Occupied.PlayerX; string result = cell.ToString(); Assert.AreEqual("2,3 X", result); }
public void ToStringTest() { Cell cell = new Cell(new Location(0, 0)); string outValue = cell.ToString(); Assert.IsFalse(String.IsNullOrEmpty(outValue)); }