aga,agar: New shortcut2 sample graph and testcases based on it
This patch adds a new test graph "shortcut2" which includes a negative cost
edge. Along with that we add a testcase for Dijkstra's algorithm checking
that it gracefully fails in this case.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Showing
ccan/aga/test/shortcut2.c
0 → 100644
ccan/agar/test/shortcut2.c
0 → 100644
Please register or sign in to comment