All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fathzer.chess.utils.model.TestAdapter Maven / Gradle / Ivy

There is a newer version: 0.0.2
Show newest version
package com.fathzer.chess.utils.model;

/** An adapter class between the tested library's model and the model of the chess-test-utils library.
 * @param  the type of the board
 * @param  the type of the move
 */
public interface TestAdapter, M> {
	/** Creates a board from a FEN string.
	 * @param fen the FEN string
	 * @param variant the variant of the board
	 * @return the board created from the FEN string
	 */
	B fenToBoard(String fen, Variant variant);
}