mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
tests are no longer stupid
This commit is contained in:
parent
6f88684040
commit
4deddc6def
1 changed files with 0 additions and 6 deletions
|
|
@ -91,12 +91,6 @@ public class ConsumeGeneratorTests extends PowerTestFixture{
|
|||
assertTrue(build.acceptLiquid(null, liquid), inputType + " | " + parameterDescription + ": Liquids which will be declined by the generator don't need to be tested - The code won't be called for those cases.");
|
||||
|
||||
build.liquids.add(liquid, availableLiquidAmount);
|
||||
//Placed:
|
||||
//frame 0: run generator code, multiplier is set but nothing is valid so this is used
|
||||
//- consumption code runs and consumes
|
||||
//frame 1: efficiency is now 1, but the liquid filter consumer isn't valid anymore.
|
||||
|
||||
build.updateConsumption();
|
||||
|
||||
// Perform an update on the generator once - This should use up any resource up to the maximum liquid usage
|
||||
build.update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue