package bentolor.grocerylist.model;

/** Unit classification for groceries. */
public enum Unit implements ModelElement {

    pcs("pieces"),
    kg("kilogram"),
    l("litre");

    private final String name;

    private Unit(String name) {
        this.name = name;
    }

    public String toString() {
        return name;
    }
}

@@ -151,24 +151,39 @@
 kilogram%22),%0A
+    g(%22gram%22),%0A
     l(%22litre

Support unit "gram"