JUnit Tests
Important tips in using JUnit tests:
- At the top of your JUnit test program, import the JUnit utility with the command: 'import org.junit.jupiter.api.Test;'
- Before each test method in your program, include the annotation '@Test' above each method header.
- When you compile your java and junit test program in bash, make sure to include the file path to your junit5.jar file!
Test
.
.
.
Enter Start Location:
Enter End Location:
Start Location: Union South >>>>>>> End Location: Weeks Hall for Geological Sciences
Path from Start to End Locations:
- Union South
- Computer Sciences and Statistics
- Weeks Hall for Geological Sciences
Total Time Duration for Path: 3.0 Minutes
Enter Start Location:
Start Location: Smith Hall
Closest Ten Locations:
- Union South
- Computer Sciences and Statistics
- Weeks Hall for Geological Sciences