AY2021S1-CS2103T-W10-2/tp

[PE-D] Recommend when not enough ingredients

Closed this issue · 1 comments

"Recommend" command recommends me recipes when I do not have enough ingredients.

Steps to reproduce:

  1. Add ingredient with 0 quantity.
  2. Add recipe with >0 quantity.
  3. recommend

image.png

image.png


Labels: severity.Medium type.FunctionalityBug
original: todoge/ped#10

Check if number in quantity is positive float (fraction or decimal) or integer that is greater than 0 before storing the ingredient

Update UG