Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Each action can now have a maximum duration. That is a convenient way to
[simgrid.git] / testsuite / surf / maxmin_usage.c
index 1937a6b..2910cc2 100644 (file)
@@ -1,9 +1,11 @@
+/*     $Id$     */
+
 /* A few tests for the maxmin library                                       */
 
-/* Authors: Arnaud Legrand                                                  */
+/* Copyright (c) 2004 Arnaud Legrand. 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. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -65,7 +67,7 @@ void test(void)
   printf("\n");
 
 
-  lmm_update_variable_weight(R_1_2_3,.5);
+  lmm_update_variable_weight(Sys,R_1_2_3,.5);
   lmm_solve(Sys);
 
   PRINT_VAR(R_1_2_3);
@@ -110,10 +112,12 @@ void test2(void)
   lmm_system_free(Sys);
 } 
 
-
 int main(int argc, char **argv)
 {
+  printf("***** Test 1 ***** \n");
   test();
+  printf("***** Test 2 ***** \n");
   test2();
+
   return 0;
 }