use of org.openbw.bwapi4j.BW in project BWAPI4J by OpenBW.
the class MapTest method Compare_MiniTile_Altitudes_to_Original_Samples_LIVE.
@Ignore
@Test
public void Compare_MiniTile_Altitudes_to_Original_Samples_LIVE() throws AssertionError, IOException {
this.bw = new BW(this);
this.bw.startGame();
final BWEM_DummyData bwemDummyData = new BWEM_DummyData(this.bw.getBWMap().mapHash(), BWAPI_DummyData.DataSetBwapiVersion.BWAPI_420.toString(), BWEM_DummyData.DataSetBwemVersion.BWEM_141.toString());
assertEquals_MiniTileAltitudes(this.bwemMap.getData(), bwemDummyData);
}
use of org.openbw.bwapi4j.BW in project BWAPI4J by OpenBW.
the class TestListenerBwem method main.
public static void main(String[] args) {
final TestListenerBwem listener = new TestListenerBwem();
final BW bw = new BW(listener);
listener.bw = bw;
bw.startGame();
}
use of org.openbw.bwapi4j.BW in project BWAPI4J by OpenBW.
the class TestListenerYata method main.
/**
* Test method.
* @param args arguments
*/
public static void main(String[] args) {
TestListenerYata listener = new TestListenerYata();
BW bw = new BW(listener);
listener.bw = bw;
bw.startGame();
}
use of org.openbw.bwapi4j.BW in project BWAPI4J by OpenBW.
the class UnitTypeTest method unitTypeTest.
@Test
public void unitTypeTest() {
this.bw = new BW(this);
this.bw.startGame();
terranTest();
// zergTest();
// protossTest();
}
use of org.openbw.bwapi4j.BW in project BWAPI4J by OpenBW.
the class MapTest method Compare_ChokePoint_Centers_to_Original_Samples_LIVE.
@Ignore
@Test
public void Compare_ChokePoint_Centers_to_Original_Samples_LIVE() throws URISyntaxException, IOException {
this.bw = new BW(this);
this.bw.startGame();
final BWEM_DummyData bwemDummyData = new BWEM_DummyData(this.bw.getBWMap().mapHash(), BWAPI_DummyData.DataSetBwapiVersion.BWAPI_420.toString(), BWEM_DummyData.DataSetBwemVersion.BWEM_141.toString());
assert_ChokePoints(bwemDummyData.getChokePointCenters(), ((MapImpl) this.bwemMap).getGraph().getChokePoints());
}
Aggregations