mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-17 21:52:03 -08:00
TODO cleanup / Test fixes
This commit is contained in:
parent
66c27fab13
commit
adf5189541
18 changed files with 43 additions and 71 deletions
|
|
@ -41,7 +41,7 @@ public class DirectConsumerTests extends PowerTestFixture{
|
|||
consumerTile.entity.items.add(Items.lead, leadAmount);
|
||||
|
||||
Tile producerTile = createFakeTile(2, 0, createFakeProducerBlock(producedPower));
|
||||
producerTile.<PowerGenerator.GeneratorEntity>entity().productionEfficiency = 0.5f; // 100%
|
||||
producerTile.<PowerGenerator.GeneratorEntity>entity().productionEfficiency = 1f;
|
||||
|
||||
PowerGraph graph = new PowerGraph();
|
||||
graph.add(producerTile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue