Fixed unit tests
This commit is contained in:
@@ -16,13 +16,13 @@ public class DirectConsumerTests extends PowerTestFixture{
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
void noPowerRequestedWithNoItems(){
|
void noPowerRequestedWithNoItems(){
|
||||||
testUnitFactory(0, 0, 0.08f, 0.08f, 0.0f);
|
testUnitFactory(0, 0, 0.08f, 0.08f, 1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void noPowerRequestedWithInsufficientItems(){
|
void noPowerRequestedWithInsufficientItems(){
|
||||||
testUnitFactory(30, 0, 0.08f, 0.08f, 0.0f);
|
testUnitFactory(30, 0, 0.08f, 0.08f, 1f);
|
||||||
testUnitFactory(0, 30, 0.08f, 0.08f, 0.0f);
|
testUnitFactory(0, 30, 0.08f, 0.08f, 1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user