-
Notifications
You must be signed in to change notification settings - Fork 4
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
Added Lesson and Subject classes #41
Added Lesson and Subject classes #41
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #41 +/- ##
============================================
+ Coverage 74.60% 75.35% +0.75%
- Complexity 431 445 +14
============================================
Files 74 75 +1
Lines 1394 1473 +79
Branches 133 144 +11
============================================
+ Hits 1040 1110 +70
- Misses 320 324 +4
- Partials 34 39 +5 ☔ View full report in Codecov by Sentry. |
@@ -7,6 +7,8 @@ | |||
* Guarantees: immutable; is always valid | |||
*/ | |||
public class Remark { |
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.
will we be including the remark class?
@@ -23,21 +24,28 @@ public static Person[] getSamplePersons() { | |||
return new Person[] { | |||
new Person(new Name("Alex Yeoh"), new Phone("87438807"), new Email("[email protected]"), | |||
new Address("Blk 30 Geylang Street 29, #06-40"), | |||
EMPTY_REMARK, getTagSet("friends")), | |||
new Subject("Math"), | |||
EMPTY_REMARK, getLessonSet("Maths|10-05-2004|12:29|0")), |
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.
have to include test cases
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.
Ok done!
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.
Looks good to me!
Also deleted Tag class since I replaced it with Lesson