Right-click on the src/main/java directory under the project and create the package edu.emory.cs.utils. Right-click on the utils package and create the Java class Utils:
Add Utils.java to git.
Add the following methods to the Utils class:
Run the program by clicking [Run -> Run]. If you see 5 on the output pane, your program runs successfully.
Testing
Open and add the following configurations (if not already), which would allow you to perform :
Right-click on the directory under the project and create the package . Right-click on the utils package and create the Java class :
Add UtilsTest.java to Git.
Add the following method to the UtilsTest class. Make sure to include all imports:
Run the test by clicking [Run -> Run]. If you see the test passed, your unit test runs successfully.
Submission
Add the instructors as collaborators in your GitHub repository:
Jinho Choi: jdchoi77
Peilin Wu: qualidea1217
Jeongrok Yu: jeongrok
2. Commit and push the following to your GitHub repository:
3. Submit the URL of your GitHub repository to Canvas.