public void tupleNumTest() { PlayStrategy_Accessor target = new PlayStrategy_Accessor(); // TODO: 初始化为适当的值 int row = 0; // TODO: 初始化为适当的值 int col = 0; // TODO: 初始化为适当的值 int expected = 3; // TODO: 初始化为适当的值 int actual; actual = target.tupleNum(row, col); Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }
public void UpdateScoreTableTest() { PlayStrategy_Accessor target = new PlayStrategy_Accessor(); // TODO: 初始化为适当的值 IChessBoard chessBoard = null; // TODO: 初始化为适当的值 IChessBoard chessBoardExpected = null; // TODO: 初始化为适当的值 Position pos = null; // TODO: 初始化为适当的值 PieceTypeEnum pieceType = new PieceTypeEnum(); // TODO: 初始化为适当的值 target.UpdateScoreTable(ref chessBoard, pos, pieceType); Assert.AreEqual(chessBoardExpected, chessBoard); Assert.Inconclusive("无法验证不返回值的方法。"); }
public void IsFobiddenTest() { PlayStrategy_Accessor target = new PlayStrategy_Accessor(); // TODO: 初始化为适当的值 IChessBoard chessBoard = null; // TODO: 初始化为适当的值 IChessBoard chessBoardExpected = null; // TODO: 初始化为适当的值 Position point = null; // TODO: 初始化为适当的值 bool expected = false; // TODO: 初始化为适当的值 bool actual; actual = target.IsFobidden(ref chessBoard, point); Assert.AreEqual(chessBoardExpected, chessBoard); Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }