CS3398-Mocha-Coffee / -CS3398-Mocha-F2017

0 stars 1 forks source link

Comparitor - Comparing inventoried ingredients by Qty #81

Open bmf57 opened 6 years ago

bmf57 commented 6 years ago

Create a class for the comparitor to use that compares the quantities of ingredients to determine if there are sufficient amounts.

bmf57 commented 6 years ago

In addition to checking the quantity, I've also included a unit simplification/conversion feature to this class. Since ingredient quantities are not comparable unless they have the same units, I've created a simplification method that standardizes any units, primarily ones not obtained from the IDatabase, so that they can be converted and compared later.

bmf57 commented 6 years ago
screen shot 2017-11-22 at 3 20 53 pm