常用方法
常用方法
常用方法
常用方法
public void BoardService(string input, int[] expectedResult, bool expectedIsInsideBoard) { IBoardService boardService = new BoardService(); int[] result = boardService.ConvertStringToColRow(input); bool isInsideBoard = boardService.IsInsideBoard(result); Assert.AreEqual(result, expectedResult); Assert.AreEqual(isInsideBoard, expectedIsInsideBoard); }