Fixed test dir.

This commit is contained in:
2021-10-01 21:30:54 -07:00
parent a93bf990dd
commit 3a6e65993d
8 changed files with 148 additions and 6 deletions

View File

@ -31,7 +31,7 @@ uint8_t pokerPotAdd(poker2_t *poker) {
}
void pokerPotAddPlayer(poker2pot_t *pot, uint8_t playerIndex) {
if(!arrayContains(
if(arrayContains(
sizeof(uint8_t), pot->players, pot->playerCount, &playerIndex
)) return;
pot->players[pot->playerCount++] = playerIndex;