-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Clear Command #69
Conversation
Model expectedModel = new ModelManager(getTypicalAddressBook(), new UserPrefs()); | ||
expectedModel.setOrderManager(new OrderManager()); | ||
model.setOrderManager(new OrderManager()); | ||
OrderItem instantiate = new OrderItem(new Food("Prata", 1, new HashSet<>()), 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this OrderItem can be renamed to orderItem for better readibility?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just need to rename the OrderItem variable name.
Codecov Report
@@ Coverage Diff @@
## master #69 +/- ##
============================================
+ Coverage 56.07% 57.19% +1.12%
- Complexity 440 452 +12
============================================
Files 93 94 +1
Lines 1762 1771 +9
Branches 178 180 +2
============================================
+ Hits 988 1013 +25
+ Misses 721 702 -19
- Partials 53 56 +3
Continue to review full report at Codecov.
|
No description provided.