File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public void assignStartingLocationsToSuitableBases() {
9191 }
9292
9393 if (atLeastOneFailed ) {
94- // asserter.throwIllegalStateException("At least one starting location was not assigned to a base.");
94+ asserter .throwIllegalStateException ("At least one starting location was not assigned to a base." );
9595 }
9696 }
9797
Original file line number Diff line number Diff line change 99import bwem .ChokePoint ;
1010
1111import bwem .Area ;
12+
13+ import java .io .OutputStream ;
1214import java .util .*;
1315import java .util .stream .Collectors ;
1416
@@ -26,6 +28,14 @@ public static void readMap(final Game game) {
2628 bwem = new BWEM (game );
2729 }
2830
31+ public static void setFailOnError (final boolean value ) {
32+ bwem .setFailOnError (value );
33+ }
34+
35+ public static void setFailOnErrorStream (OutputStream stream ) {
36+ bwem .setFailOutputStream (stream );
37+ }
38+
2939 public static void analyze () {
3040 bwem .initialize ();
3141
You can’t perform that action at this time.
0 commit comments