You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
668 B
27 lines
668 B
import static org.assertj.core.api.Assertions.*;
|
|
|
|
import org.junit.jupiter.api.BeforeEach;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.jupiter.params.ParameterizedTest;
|
|
import org.junit.jupiter.params.provider.Arguments;
|
|
import org.junit.jupiter.params.provider.MethodSource;
|
|
|
|
public class GameTest {
|
|
|
|
private Gameboard gb;
|
|
private Player p1;
|
|
private Player p2;
|
|
private Player p3;
|
|
private Player p4;
|
|
|
|
@BeforeEach
|
|
void setup() {
|
|
this.gb = new Gameboard();
|
|
gb.initGameboard();
|
|
p1 = new Player("Rot");
|
|
p2 = new Player("Blau");
|
|
p3 = new Player("Gelb");
|
|
p4 = new Player("Grün");
|
|
}
|
|
|
|
}
|