Commit 01e652a8 authored by Ethan Ordentlich's avatar Ethan Ordentlich
Browse files

error messages go brrr

parent 99890b19
1 merge request!2Review Tests for Project 8
Pipeline #46659 failed with stage
in 0 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -77,10 +77,10 @@ public class DijkstraTest {
String line = s.nextLine();
if (line.equals("null")) {
assertNull(res, "Path does not exist from " + start + " to " + end + " but was found");
assertNull(res, "Path does not exist from " + start + " to " + end + " but a path was found");
}
else {
assertNotNull(res, "Path exists from " + start + " to " + end + " but was not found");
assertNotNull(res, "Path exists from " + start + " to " + end + " but a path was not found");
for (Location l : res) {
if (prev != null) {
pathLen += bmg.adjacent(prev.id, l.id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment