public void ToJsonClosedDigitTest() { var cell = new Cell(); Assert.IsTrue(cell.IsClosed()); Assert.AreEqual("F", cell.ToJson()); }
public void ToJson1DigitTest() { var cell = new Cell(); cell.Carve(Direction.N); Assert.AreEqual("7", cell.ToJson()); }
public void ToJsonOpenTest() { var cell = new Cell(); cell.Carve(Direction.N); cell.Carve(Direction.E); cell.Carve(Direction.S); cell.Carve(Direction.W); Assert.AreEqual("0", cell.ToJson()); }