Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void ToStringTest()
 {
     Cell cell = new Cell(new Location(0, 0));
     string outValue = cell.ToString();
     Assert.IsFalse(String.IsNullOrEmpty(outValue));
 }