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.
21 lines
457 B
21 lines
457 B
import org.junit.jupiter.api.BeforeEach;
|
|
|
|
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", 40, 43);
|
|
p2 = new Player("Blau", 44, 47);
|
|
p3 = new Player("Gelb", 48, 51);
|
|
p4 = new Player("Grün", 52, 55);
|
|
}
|
|
|
|
}
|