klpolley / chef_share

Software Engineering Group Project - recipe + grocery sharing and management
0 stars 0 forks source link

ingredient class #52

Open klpolley opened 4 years ago

klpolley commented 4 years ago

How to Demo: test that units are validated correctly and strings that are not valid units are not accepted create ingredients and validate that all properties are set correctly validate that converting calorie amounts to units of an ingredient is done correctly

MunkyCode commented 4 years ago

Created basic contructor and getters. Added functions for valid units and unit conversion. Took 3 or 4 hours.