mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Minor test fixes
This commit is contained in:
parent
61b99f04e9
commit
0f6629718d
2 changed files with 5 additions and 5 deletions
|
|
@ -481,8 +481,8 @@ public class ApplicationTests{
|
|||
void buildingOverlap(){
|
||||
initBuilding();
|
||||
|
||||
Builderc d1 = (Builderc)UnitTypes.mono.create(Team.sharded);
|
||||
Builderc d2 = (Builderc)UnitTypes.mono.create(Team.sharded);
|
||||
Builderc d1 = (Builderc)UnitTypes.poly.create(Team.sharded);
|
||||
Builderc d2 = (Builderc)UnitTypes.poly.create(Team.sharded);
|
||||
|
||||
//infinite build range
|
||||
state.rules.editor = true;
|
||||
|
|
@ -508,8 +508,8 @@ public class ApplicationTests{
|
|||
void buildingDestruction(){
|
||||
initBuilding();
|
||||
|
||||
Builderc d1 = (Builderc)UnitTypes.mono.create(Team.sharded);
|
||||
Builderc d2 = (Builderc)UnitTypes.mono.create(Team.sharded);
|
||||
Builderc d1 = (Builderc)UnitTypes.poly.create(Team.sharded);
|
||||
Builderc d2 = (Builderc)UnitTypes.poly.create(Team.sharded);
|
||||
|
||||
d1.set(10f, 20f);
|
||||
d2.set(10f, 20f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue