diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-16 09:42:48 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-16 09:42:48 +0200 |
commit | eeb0661f0671c3ff2c4fb9ce8da14d12ff788ef2 (patch) | |
tree | ac9da49c6f8ce5344029538a2cef1d79ee30a45f /tests/utils.h | |
parent | 2d0581fad27bfb0a4c75fc6fc1a46c51cd189277 (diff) | |
download | sink-eeb0661f0671c3ff2c4fb9ce8da14d12ff788ef2.tar.gz sink-eeb0661f0671c3ff2c4fb9ce8da14d12ff788ef2.zip |
Share variance/maxDifference implementation
Diffstat (limited to 'tests/utils.h')
-rw-r--r-- | tests/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/utils.h b/tests/utils.h new file mode 100644 index 0000000..45c1409 --- /dev/null +++ b/tests/utils.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QList> | ||
4 | |||
5 | double variance(const QList<double> &values); | ||
6 | double maxDifference(const QList<double> &values); | ||
7 | |||