Adding rough-in for more components, pistache dependency pull

This commit is contained in:
Ian Roddis
2021-06-03 17:57:56 -03:00
parent fbe77d03f9
commit 315638f650
8 changed files with 99 additions and 5 deletions

View File

@@ -13,10 +13,10 @@ TEST_CASE("DAG Basic Tests", "[dag]") {
dag.addEdge(i-1, i);
}
REQUIRE(dag.shortest_path(0,9).size() == 10);
REQUIRE(dag.shortestPath(0,9).size() == 10);
dag.addEdge(5, 9);
REQUIRE(dag.shortest_path(0,9).size() == 7);
REQUIRE(dag.shortestPath(0,9).size() == 7);
REQUIRE_THROWS(dag.addEdge(9, 5));
}