fixed ingredient test
This commit is contained in:
parent
f048e0fe3e
commit
d37d95f1d4
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ package commons;
|
|||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
|
||||
class IngredientTest {
|
||||
|
||||
|
|
@ -25,7 +26,7 @@ class IngredientTest {
|
|||
assertEquals(ZERO, sugar.proteinPer100g);
|
||||
assertEquals(ZERO, sugar.fatPer100g);
|
||||
assertEquals(HUNDRED, sugar.carbsPer100g);
|
||||
assertEquals(0L, sugar.id);
|
||||
assertNull(sugar.id);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue