Testing chess game

Posted by mousey on Stack Overflow See other posts from Stack Overflow or by mousey
Published on 2010-04-29T23:11:41Z Indexed on 2010/04/29 23:17 UTC
Read the original article Hit count: 346

There is a software for chess game and we need to test the following method:

boolean canMoveTo(int x, int y)

x and y are the coordinates of the chess board and it returns true/false whether the piece can move to that position or not. We need to test this method for a pawn piece and you can set up the board any way you like prior to running a test case. Source code is not provided

© Stack Overflow or respective owner

Related posts about object-oriented-design

Related posts about testing