Skip to content
Snippets Groups Projects

Create food and recipe classes with tests

Merged Hanne-Sofie Søreide requested to merge create_food_and_recipe_classes_with_tests into master
11 files
+ 771
0
Compare changes
  • Side-by-side
  • Inline
Files
11
package no.ntnu.idatt1002.demo.data.recipes;
public enum FoodItem {
ONION("onion"),
MINCED_MEAT("minced meat"),
POTATO("potatoes"),
YELLOW_CHEESE("yellow cheese"),
WHEAT_FLOUR("wheat flour"),
MILK("milk"),
TOMATO("tomato"),
ORANGE("orange"),
LEMON("lemon"),
SALSA_SAUCE("salsa sauce")
;
public final String label;
FoodItem(String label) {
this.label = label;
}
}
Loading