Kaydet (Commit) c6f1f948 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add AVERAGE test

Change-Id: I144858631f229685284622eb9975a168e61ff6c5
üst 62a06cd0
......@@ -1361,6 +1361,12 @@ IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
return (nAccum + nArg);
}));
pTestDocument->addTest(Reduction("Average", "AVERAGE", 500, 0, -1000, 1000, 3e-10,
[] (double nAccum, double nArg)
{
return (nAccum + nArg / static_cast<double>(500));
}));
pTestDocument->addTest(Reduction("Product", "PRODUCT", 500, 1, 0.1, 2.5, 3e-10,
[] (double nAccum, double nArg)
{
......
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