コード例 #1
0
 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));
 }
コード例 #2
0
 public void CheckQi(GoLayout layout, int row, int col, int qi)
 {
     Assert.AreEqual(qi, layout.GetQi(row, col));
 }
コード例 #3
0
 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));
 }