mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-17 14:51:15 -08:00
Code cleanup
This commit is contained in:
parent
bb9573b85a
commit
97f5bf3cc4
14 changed files with 42 additions and 28 deletions
|
|
@ -169,10 +169,10 @@ public class ItemLiquidGeneratorTests extends PowerTestFixture{
|
|||
float currentDuration = 0.0f;
|
||||
while((currentDuration += Time.delta()) <= fakeItemDuration){
|
||||
generator.update(tile);
|
||||
assertEquals(expectedEfficiency, entity.productionEfficiency, "Duration: " + String.valueOf(currentDuration));
|
||||
assertEquals(expectedEfficiency, entity.productionEfficiency, "Duration: " + currentDuration);
|
||||
}
|
||||
generator.update(tile);
|
||||
assertEquals(0.0f, entity.productionEfficiency, "Duration: " + String.valueOf(currentDuration));
|
||||
assertEquals(0.0f, entity.productionEfficiency, "Duration: " + currentDuration);
|
||||
}
|
||||
|
||||
enum InputType{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue