-
Notifications
You must be signed in to change notification settings - Fork 185
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
[W5.4r][F09-B4] Liu Hang #926
base: master
Are you sure you want to change the base?
Conversation
See comments for detail
@liuhang0213 take note of your team id. @jeffryhartanto tagged you in this PR. |
@satyam-cyc Please review this PR. |
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.
Please add proper IO tests to assess end-to-end correctness of the program.
This is not a requirement for your grade, but is a good exercise to understand the difference between Unit tests and IO tests.
@@ -60,12 +60,24 @@ public void listCommand_parsedCorrectly() { | |||
} | |||
|
|||
@Test | |||
public void sortCommand_parsedCorrectly() { | |||
public void sortCommand_noArgs_parsedCorrectly() { |
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.
You have successfully implemented Unit tests!
But you still need to add IO tests for your feature.
IO tests help assess the end-to-end correctness of a program.
You will need to add input.txt and expected.txt files along with a batch script to compare your programs output to the expected output.
No description provided.