Skip to content
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

Add test cases for AddCommand, DeleteCommand and relevant classes #78

Merged
merged 9 commits into from Oct 17, 2019

Conversation

liawsy
Copy link

@liawsy liawsy commented Oct 17, 2019

Add test cases for AddCommand, DeleteCommand and relevant classes
Update UserGuide (please refer to: https://f11-2-s-userguide.netlify.com/userguide)

@liawsy liawsy added this to the v1.2 milestone Oct 17, 2019

//* `add n/Betsy Crowe t/friend e/betsycrowe@example.com a/Newgate Prison p/1234567 t/criminal`
[TIP]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice tip. 👍🏻

@@ -26,13 +29,32 @@ public void isValidFormatExpiryDate() {
assertTrue(ExpiryDate.isValidFormatExpiryDate("2/06/1999"));

// invalid date
assertFalse(ExpiryDate.isValidFormatExpiryDate("99/99/2"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we test invalid days and months?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noted, will make the changes to test invalid days and months as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants