Fixed power tests

This commit is contained in:
Anuken
2019-05-03 22:26:37 -04:00
parent 93ffb66e59
commit 5ee26fc3f4
3 changed files with 4 additions and 58 deletions

View File

@@ -43,9 +43,9 @@ public class PowerTestFixture{
}};
}
protected static Battery createFakeBattery(float capacity, float ticksToFill){
protected static Battery createFakeBattery(float capacity){
return new Battery("fakebattery"){{
consumes.powerBuffered(capacity, ticksToFill);
consumes.powerBuffered(capacity);
}};
}
@@ -55,12 +55,6 @@ public class PowerTestFixture{
}};
}
protected static Block createFakeBufferedConsumer(float capacity, float ticksToFill){
return new PowerBlock("fakebufferedconsumer"){{
consumes.powerBuffered(capacity, ticksToFill);
}};
}
/**
* Creates a fake tile on the given location using the given block.
* @param x The X coordinate.