
com.fathzer.chess.utils.model.TestAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chess-test-utils Show documentation
Show all versions of chess-test-utils Show documentation
Some JUnit abstract test classes to test chess related libraries.
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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy