Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the models to the right directory (empty src/surf a bit)
[simgrid.git] / src / kernel / resource / profile / Profile_test.cpp
index 4834950..c8a73b9 100644 (file)
@@ -1,15 +1,14 @@
-/* Copyright (c) 2017-2022. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2017-2023. The SimGrid Team. All rights reserved.               */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "catch.hpp"
 
+#include "simgrid/kernel/ProfileBuilder.hpp"
 #include "src/kernel/resource/Resource.hpp"
 #include "src/kernel/resource/profile/Event.hpp"
-#include "simgrid/kernel/ProfileBuilder.hpp"
 #include "src/kernel/resource/profile/StochasticDatedValue.hpp"
-#include "src/surf/surf_interface.hpp"
 
 #include "xbt/log.h"
 #include "xbt/misc.h"
@@ -151,7 +150,7 @@ TEST_CASE("kernel::profile: Resource profiles, defining the external load", "ker
     using simgrid::kernel::profile::Distribution;
     std::vector<simgrid::kernel::profile::StochasticDatedValue> got = trace2selist("STOCHASTIC\n"
                                                                                    "DET 0 UNIF 10 20");
-    
+
     std::vector<simgrid::kernel::profile::StochasticDatedValue> want;
     want.emplace_back(Distribution::DET, std::vector<double>{0}, Distribution::UNIF, std::vector<double>{10, 20});
 
@@ -166,7 +165,7 @@ TEST_CASE("kernel::profile: Resource profiles, defining the external load", "ker
                                                                                    "NORMAL 25 10 DET 3\n"
                                                                                    "UNIF 10 20 NORMAL 25 10\n"
                                                                                    "DET 5 UNIF 5 25");
-    
+
     std::vector<simgrid::kernel::profile::StochasticDatedValue> want;
     want.emplace_back(Distribution::DET, std::vector<double>{0}, Distribution::DET, std::vector<double>{4});
     want.emplace_back(Distribution::NORM, std::vector<double>{25, 10}, Distribution::DET, std::vector<double>{3});