X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_latency_test.c;fp=src%2Futils_latency_test.c;h=2975095982bed753e9894bbde49e80e8a32233ab;hb=e7aa9832d25a98f78bb5af45a90ec404359537df;hp=84fc0a29ee1a937dbf6a1e67e919180fe2550db5;hpb=1d888f3f3a131f8eb2d9e0884665b6951ecee550;p=collectd.git diff --git a/src/utils_latency_test.c b/src/utils_latency_test.c index 84fc0a29..29750959 100644 --- a/src/utils_latency_test.c +++ b/src/utils_latency_test.c @@ -105,7 +105,7 @@ DEF_TEST (rate) { for (i = 0; i < 125; i++) { latency_counter_add (l, TIME_T_TO_CDTIME_T (((time_t) i) + 1)); } - //Test expects bin width equal to 0.125s + //Test expects bin width will be equal to 0.125s EXPECT_EQ_DOUBLE (1/125, latency_counter_get_rate (l, DOUBLE_TO_CDTIME_T(10),