* under the terms of the license (GNU LGPL) which comes with this package. */
#include "activity-lifecycle.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "activity-lifecycle.hpp"
// Normally, we should be able use Catch2's REQUIRE_THROWS_AS(...), but it generates errors with Address Sanitizer.
// They're certainly false positive. Nevermind and use this simpler replacement.
// Normally, we should be able use Catch2's REQUIRE_THROWS_AS(...), but it generates errors with Address Sanitizer.
// They're certainly false positive. Nevermind and use this simpler replacement.
simgrid::s4u::ActorPtr receiver = simgrid::s4u::Actor::create("receiver", all_hosts[1], [&start]() {
assert_exit(true, 9);
simgrid::s4u::ActorPtr receiver = simgrid::s4u::Actor::create("receiver", all_hosts[1], [&start]() {
assert_exit(true, 9);
- double milestone[5] = {0.5, 3.5, 4.5, 7.5, 9.0};
+ std::array<double, 5> milestone{{0.5, 3.5, 4.5, 7.5, 9.0}};
- double milestone[5] = {1.5, 2.5, 5.5, 6.5, 9.0};
+ std::array<double, 5> milestone{{1.5, 2.5, 5.5, 6.5, 9.0}};