JUnit Tests

Important tips in using JUnit tests:

  1. At the top of your JUnit test program, import the JUnit utility with the command: 'import org.junit.jupiter.api.Test;'
  2. Before each test method in your program, include the annotation '@Test' above each method header.
  3. When you compile your java and junit test program in bash, make sure to include the file path to your junit5.jar file!

For more information, visit: JUnit 5 User Guide

Test

.

.

.

Enter Start Location:

Enter End Location:

Start Location: Union South >>>>>>> End Location: Weeks Hall for Geological Sciences

Path from Start to End Locations:

  1. Union South
  2. Computer Sciences and Statistics
  3. Weeks Hall for Geological Sciences

Total Time Duration for Path: 3.0 Minutes

Enter Start Location:

Start Location: Smith Hall

Closest Ten Locations: