ACF $AcfVersion:0$
CRandomNumberTest.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QObject>
7#include <QtTest/QtTest>
8
9// ACF includes
10#include <istd/CRandomNumber.h>
12
13class CRandomNumberTest: public QObject
14{
15 Q_OBJECT
16private slots:
17 void initTestCase();
18
19 void GetNextIntTest();
20 void GetNextIntRangeTest();
21 void GetNextDoubleTest();
22 void GetNextDoubleRangeTest();
23
24 void cleanupTestCase();
25
26private:
27 istd::CRandomNumber* m_randomNumberPtr = nullptr;
28};
29
30
Helper class for calculation of a random number.