A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small typos in comments
[simgrid.git]
/
src
/
kernel
/
routing
/
DijkstraZone_test.cpp
diff --git
a/src/kernel/routing/DijkstraZone_test.cpp
b/src/kernel/routing/DijkstraZone_test.cpp
index 379f431a74f4d32028173f637ce3fc436e17e5ba..9a1c89a0de81c965dd922fd9e6fa05e7d469684f 100644
(file)
--- a/
src/kernel/routing/DijkstraZone_test.cpp
+++ b/
src/kernel/routing/DijkstraZone_test.cpp
@@
-30,7
+30,6
@@
TEST_CASE("kernel::routing::DijkstraZone: mix new routes and hosts", "")
for (int i = 0; i < 10; i++) {
std::string cpu_name = "CPU" + std::to_string(i);
const simgrid::s4u::Host* cpu = zone->create_host(cpu_name, 1e9)->seal();
for (int i = 0; i < 10; i++) {
std::string cpu_name = "CPU" + std::to_string(i);
const simgrid::s4u::Host* cpu = zone->create_host(cpu_name, 1e9)->seal();
- REQUIRE_NOTHROW(zone->add_route(cpu->get_netpoint(), nic->get_netpoint(), nullptr, nullptr,
- {simgrid::s4u::LinkInRoute(link)}, true));
+ REQUIRE_NOTHROW(zone->add_route(cpu, nic,{link}));
}
}
}
}