public void SetDianAndCheckQi(GoLayout layout, int row, int col, GoPointType type, int qi) { layout.SetupPoint(new GoCoord(row, col), type); Assert.AreEqual(qi, layout.GetQi(row, col)); }
public void CheckQi(GoLayout layout, int row, int col, int qi) { Assert.AreEqual(qi, layout.GetQi(row, col)); }
public void GoStepAndCheckQi(GoLayout layout, int row, int col, GoPointType type, int qi) { layout.PushStep(new GoStep(new GoCoord(row, col), type)); Assert.AreEqual(qi, layout.GetQi(row, col)); }