X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f57bd040b9e90df49ab5ca95da8c32af696d62d6..4e62e76d104a17f0c9aaf9135ac605e9c8c87141:/teshsuite/msg/task-priority/task-priority.c diff --git a/teshsuite/msg/task-priority/task-priority.c b/teshsuite/msg/task-priority/task-priority.c index d8abdb66ff..bc52e131ff 100644 --- a/teshsuite/msg/task-priority/task-priority.c +++ b/teshsuite/msg/task-priority/task-priority.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. 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");