mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Don't in GameSimulatorTest - since that isn't being tested.
This commit is contained in:
@@ -56,7 +56,12 @@ public class SimulationTestCase extends TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected GameSimulator createSimulator(Game game, Player p) {
|
protected GameSimulator createSimulator(Game game, Player p) {
|
||||||
return new GameSimulator(new SimulationController(new Score(0)), game, p);
|
return new GameSimulator(new SimulationController(new Score(0)) {
|
||||||
|
@Override
|
||||||
|
public boolean shouldRecurse() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}, game, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Card findCardWithName(Game game, String name) {
|
protected Card findCardWithName(Game game, String name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user