A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make messages match the code.
[simgrid.git]
/
teshsuite
/
msg
/
task_progress
/
task_progress.cpp
diff --git
a/teshsuite/msg/task_progress/task_progress.cpp
b/teshsuite/msg/task_progress/task_progress.cpp
index
611f60e
..
d128dce
100644
(file)
--- a/
teshsuite/msg/task_progress/task_progress.cpp
+++ b/
teshsuite/msg/task_progress/task_progress.cpp
@@
-29,7
+29,7
@@
static int seq_task(int /*argc*/, char* /*argv*/ [])
XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
- xbt_assert(progress == 0
, "Progress should be equal to 1
not %f", progress);
+ xbt_assert(progress == 0
.0, "Progress should be equal to 0.0
not %f", progress);
MSG_task_destroy(task);
XBT_INFO("Goodbye now!");
MSG_task_destroy(task);
XBT_INFO("Goodbye now!");
@@
-58,7
+58,7
@@
static int par_task(int /*argc*/, char* /*argv*/ [])
XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
- xbt_assert(progress == 0
, "Progress should be equal to 1
not %f", progress);
+ xbt_assert(progress == 0
.0, "Progress should be equal to 0.0
not %f", progress);
MSG_task_destroy(task);
delete[] computation_amount;
MSG_task_destroy(task);
delete[] computation_amount;