Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make all Activity starts vetoable
[simgrid.git] / teshsuite / surf / lmm_usage / lmm_usage.cpp
index 6175cd6d9b7c8b2edc5551df1caedee617846647..6e841acaddaee0e2a2df7791066dfec1981637ff 100644 (file)
@@ -1,6 +1,6 @@
 /* A few tests for the maxmin library                                       */
 
-/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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. */
@@ -31,7 +31,7 @@ static void test1()
   double a = 1.0;
   double b = 10.0;
 
-  lmm::System Sys(false);
+  lmm::MaxMin Sys(false);
   lmm::Constraint* L1 = Sys.constraint_new(nullptr, a);
   lmm::Constraint* L2 = Sys.constraint_new(nullptr, b);
   lmm::Constraint* L3 = Sys.constraint_new(nullptr, a);
@@ -69,7 +69,7 @@ static void test1()
 
 static void test2()
 {
-  lmm::System Sys(false);
+  lmm::MaxMin Sys(false);
 
   lmm::Constraint* CPU1 = Sys.constraint_new(nullptr, 200.0);
   lmm::Constraint* CPU2 = Sys.constraint_new(nullptr, 100.0);
@@ -127,7 +127,7 @@ static void test3()
   A[13][14] =                                        1.0;
   A[14][15] =                                        1.0;
 
-  lmm::System Sys(false);
+  lmm::MaxMin Sys(false);
 
   /* Creates the constraints */
   std::array<lmm::Constraint*, 15> tmp_cnst;