I'm really confused Junit test case Here is my code.
How can I do Junit test with this code?
package pieces;
import java.util.ArrayList;
import board.Board;
public class Knight extends Piece {
public Knight(int positionX, int positionY, boolean
isWhite) {
super("N", positionX, positionY,
isWhite);
}
@Override
public String getPossibleMoves() {
ArrayList<String>
possibleMoves = new ArrayList<>();
// check if squares where knight
can go are available for it
...