mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Fixed unit tests
This commit is contained in:
parent
cb9616a381
commit
6d01d893f7
@ -16,13 +16,13 @@ public class DirectConsumerTests extends PowerTestFixture{
|
||||
|
||||
@Test
|
||||
void noPowerRequestedWithNoItems(){
|
||||
testUnitFactory(0, 0, 0.08f, 0.08f, 0.0f);
|
||||
testUnitFactory(0, 0, 0.08f, 0.08f, 1f);
|
||||
}
|
||||
|
||||
@Test
|
||||
void noPowerRequestedWithInsufficientItems(){
|
||||
testUnitFactory(30, 0, 0.08f, 0.08f, 0.0f);
|
||||
testUnitFactory(0, 30, 0.08f, 0.08f, 0.0f);
|
||||
testUnitFactory(30, 0, 0.08f, 0.08f, 1f);
|
||||
testUnitFactory(0, 30, 0.08f, 0.08f, 1f);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user