mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-17 05:32:07 -08:00
Fixed some tests failing
This commit is contained in:
parent
671823b4fa
commit
6b074ed4b2
4 changed files with 13 additions and 6 deletions
|
|
@ -16,13 +16,13 @@ public class DirectConsumerTests extends PowerTestFixture{
|
|||
|
||||
@Test
|
||||
void noPowerRequestedWithNoItems(){
|
||||
testUnitFactory(0, 0, 0.08f, 0.08f, 0f);
|
||||
testUnitFactory(0, 0, 0.08f, 0.08f, 1f);
|
||||
}
|
||||
|
||||
@Test
|
||||
void noPowerRequestedWithInsufficientItems(){
|
||||
testUnitFactory(30, 0, 0.08f, 0.08f, 0f);
|
||||
testUnitFactory(0, 30, 0.08f, 0.08f, 0f);
|
||||
testUnitFactory(30, 0, 0.08f, 0.08f, 1f);
|
||||
testUnitFactory(0, 30, 0.08f, 0.08f, 1f);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue