Commit 6dc152b0 authored by Dominik Charousset's avatar Dominik Charousset

Use predefined constants, don't repeat values

parent 92ab85a3
......@@ -59,7 +59,7 @@ struct fixture {
c, n, t, m);
print("- items/batch B = max(D * N / t, 1) = max(%ld * %ld / %ld, 1) = %ld",
d, n, t, b);
auto cr = x.calculate(timespan(1000), timespan(100));
auto cr = x.calculate(timespan(c), timespan(d));
CAF_CHECK_EQUAL(cr.items_per_batch, b);
CAF_CHECK_EQUAL(cr.max_throughput, m);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment