Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/TestStdAbs/TestStdAbs.cpp')
-rw-r--r--src/tests/TestStdAbs/TestStdAbs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/TestStdAbs/TestStdAbs.cpp b/src/tests/TestStdAbs/TestStdAbs.cpp
index 8e6afb6d9..1f572c3eb 100644
--- a/src/tests/TestStdAbs/TestStdAbs.cpp
+++ b/src/tests/TestStdAbs/TestStdAbs.cpp
@@ -16,14 +16,14 @@
/// function.
/// Test that it works for us.
class TestStdAbs : public QObject {
- Q_OBJECT
- private slots:
- void floatWorks();
+ Q_OBJECT
+private slots:
+ void floatWorks();
};
void TestStdAbs::floatWorks() {
const float in = -1.5;
- float out = std::abs(in);
+ float out = std::abs(in);
QVERIFY(out > 1.2 && out < 1.8);
}