testTagPiece

fun testTagPiece(coordinate: Coordinate, type: PieceType?): String

Creates a test tag for a piece on the board.

Return

The test tag string for the piece.

Parameters

coordinate

The board coordinate of the piece.

type

The piece type (BLACK, WHITE, or null).