-
Notifications
You must be signed in to change notification settings - Fork 23
feat: implements Wardrobe Collection and custom PersonalCloset class with test cases #524
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
feat: implements Wardrobe Collection and custom PersonalCloset class with test cases #524
Conversation
…lue, and seaon count
…ot found in closet
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.
Checks are failing, looks like bad formatting in a few places.
// Personal closet class to represent persons wardrobe collection | ||
public class PersonalCloset { | ||
// Enum for seaons | ||
public enum Season { |
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.
Formatting looks wrong, please fix.
} | ||
|
||
@Test | ||
public void testAddItemToEmptyCloset { |
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.
I see you're still working on this. Carry on.
|
||
// Adding item to closet and increasing total value of closet | ||
items.add(item); | ||
totalValue += item.getValue(); |
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.
Nice!
Going to close for now, but feel free to re-open if you want to keep working on it. |
No description provided.