summaryrefslogtreecommitdiffstats
path: root/src/graph_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_test.cc')
-rw-r--r--src/graph_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph_test.cc b/src/graph_test.cc
index 67dad53..fb0513c 100644
--- a/src/graph_test.cc
+++ b/src/graph_test.cc
@@ -998,7 +998,7 @@ TEST_F(GraphTest, EdgeQueuePriority) {
// Output is largest critical time to smallest
for (int i = 0; i < n_edges; ++i) {
- edges[i]->set_critical_time_ms(i * 10);
+ edges[i]->set_critical_path_weight(i * 10);
}
EdgePriorityQueue queue;
@@ -1015,7 +1015,7 @@ TEST_F(GraphTest, EdgeQueuePriority) {
// When there is ambiguity, the lowest edge id comes first
for (int i = 0; i < n_edges; ++i) {
- edges[i]->set_critical_time_ms(0);
+ edges[i]->set_critical_path_weight(0);
}
queue.push(edges[1]);