Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / teshsuite / msg / task-priority / task-priority.c
index 9da3dcc..80ccaa9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2020. 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. */
@@ -8,6 +8,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example")
 
 static int test(int argc, char* argv[])
 {
+  xbt_assert(argc == 3);
   double computation_amount = xbt_str_parse_double(argv[1], "Invalid argument: %s");
   double priority           = xbt_str_parse_double(argv[2], "Invalid argument: %s");