Newer
Older
package model;
import javafx.scene.paint.Color;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class ComputerPlayerTest {
// TODO
// uncomment and adapt
/*
ComputerPlayer player = new ComputerPlayer(new SquareCell(),null);
player.setStrategy(startCell -> Color.INDIGO);
assertThat(player.play()).isEqualTo(Color.INDIGO);
}
@Test
void testIsHuman() {
assertThat(new ComputerPlayer(new SquareCell(), null).isHuman()).isFalse();
}*/