fix checkstyle error
This commit is contained in:
parent
6794efa3a6
commit
b553cee6fd
1 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ public class RecipeIngredientTest {
|
||||||
private RecipeIngredient piece;
|
private RecipeIngredient piece;
|
||||||
private RecipeIngredient pinch;
|
private RecipeIngredient pinch;
|
||||||
private RecipeIngredient handful;
|
private RecipeIngredient handful;
|
||||||
private RecipeIngredient to_taste;
|
private RecipeIngredient toTaste;
|
||||||
private RecipeIngredient invalid;
|
private RecipeIngredient invalid;
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
|
|
@ -36,7 +36,7 @@ public class RecipeIngredientTest {
|
||||||
piece = new RecipeIngredient(recipe,ingredient,1,"PIECE");
|
piece = new RecipeIngredient(recipe,ingredient,1,"PIECE");
|
||||||
pinch = new RecipeIngredient(recipe,ingredient,1,"PINCH");
|
pinch = new RecipeIngredient(recipe,ingredient,1,"PINCH");
|
||||||
handful = new RecipeIngredient(recipe,ingredient,1,"HANDFUL");
|
handful = new RecipeIngredient(recipe,ingredient,1,"HANDFUL");
|
||||||
to_taste = new RecipeIngredient(recipe,ingredient,1,"TO_TASTE");
|
toTaste = new RecipeIngredient(recipe,ingredient,1,"TO_TASTE");
|
||||||
|
|
||||||
invalid = new RecipeIngredient(recipe,ingredient,1,"INVALID");
|
invalid = new RecipeIngredient(recipe,ingredient,1,"INVALID");
|
||||||
}
|
}
|
||||||
|
|
@ -59,7 +59,7 @@ public class RecipeIngredientTest {
|
||||||
void getInformalUnitTest(){
|
void getInformalUnitTest(){
|
||||||
assertEquals(Unit.PINCH, pinch.getUnit());
|
assertEquals(Unit.PINCH, pinch.getUnit());
|
||||||
assertEquals(Unit.HANDFUL, handful.getUnit());
|
assertEquals(Unit.HANDFUL, handful.getUnit());
|
||||||
assertEquals(Unit.TO_TASTE, to_taste.getUnit());
|
assertEquals(Unit.TO_TASTE, toTaste.getUnit());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
@ -84,7 +84,7 @@ public class RecipeIngredientTest {
|
||||||
void convertInformalToBaseUnit(){
|
void convertInformalToBaseUnit(){
|
||||||
assertEquals(0,pinch.amountInBaseUnit());
|
assertEquals(0,pinch.amountInBaseUnit());
|
||||||
assertEquals(0,handful.amountInBaseUnit());
|
assertEquals(0,handful.amountInBaseUnit());
|
||||||
assertEquals(0,to_taste.amountInBaseUnit());
|
assertEquals(0, toTaste.amountInBaseUnit());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue