fixed weird spacing

This commit is contained in:
Oskar Rasieński 2026-01-14 19:36:27 +01:00
commit e4fd15b120

View file

@ -9,7 +9,6 @@ import java.util.Map;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class RecipeIngredientTest {
private Map<String, FormalIngredient> ingredientUnitMap;
private Map<String, VagueIngredient> ingredientDescriptorMap;
@ -17,10 +16,12 @@ public class RecipeIngredientTest {
Ingredient ingredient = new Ingredient("Bread", 1, 2, 3);
return new FormalIngredient(ingredient, 1.0, unit);
}
private VagueIngredient getVague(String descriptor) {
Ingredient ingredient = new Ingredient("Bread", 1, 2, 3);
return new VagueIngredient(ingredient, descriptor);
}
@BeforeEach
void setup() {
ingredientUnitMap = new HashMap<>();
@ -37,6 +38,7 @@ public class RecipeIngredientTest {
FormalIngredient fi = new FormalIngredient(ingredient, 1.0, "g");
assertEquals(ingredient, fi.getIngredient());
}
@Test
void testInstantiateVagueIngredient() {
Ingredient ingredient = new Ingredient("Bread", 1, 2, 3);