Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add tests for floyd model.
[simgrid.git] / teshsuite / simdag / network / test_reinit_costs.c
index 340d41b..c269ba7 100644 (file)
@@ -1,15 +1,16 @@
+/* Computation tests                                                        */
+
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 
 #include "simdag/simdag.h"
 
-/*
- * SimDag
- * Computation tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
-
 /*
  * This test checks if the reinitialization of
  * surf works properly. 
@@ -67,8 +68,8 @@ static SD_task_t create_root_with_costs()
   SD_task_t root;
 
   root = SD_task_create("Root", NULL, 1.0);
-  SD_task_schedule(root, 2, SD_workstation_get_list(), comp_cost, comm_cost,
-                   -1.0);
+  SD_task_schedule(root, 2, SD_workstation_get_list(), comp_cost,
+                   comm_cost, -1.0);
 
   return root;
 }