Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix cosmetics
authorFabien Chaix <chaix@ics.forth.gr>
Tue, 17 May 2022 21:15:19 +0000 (00:15 +0300)
committerFabien Chaix <chaix@ics.forth.gr>
Tue, 17 May 2022 21:15:19 +0000 (00:15 +0300)
src/kernel/resource/profile/Profile_test.cpp
src/kernel/resource/profile/StochasticDatedValue.hpp

index 6996ec7..4834950 100644 (file)
@@ -151,9 +151,8 @@ 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(0, -1); // The initial fake event
     want.emplace_back(Distribution::DET, std::vector<double>{0}, Distribution::UNIF, std::vector<double>{10, 20});
 
     REQUIRE(want == got);
@@ -167,9 +166,8 @@ 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(0, -1);
     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});
     want.emplace_back(Distribution::UNIF, std::vector<double>{10, 20}, Distribution::NORM, std::vector<double>{25, 10});
index f6d55b4..27203b2 100644 (file)
@@ -36,8 +36,6 @@ private:
   static double draw(Distribution law, std::vector<double> params);
 };
 
-
-
 } // namespace simgrid::kernel::profile
 
 std::vector<simgrid::kernel::profile::StochasticDatedValue> trace2selist( const char* c_str );