ACF
$AcfVersion:0$
Acf
Include
istd
Test
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
>
11
#include <
itest/CStandardTestExecutor.h
>
12
13
class
CRandomNumberTest
:
public
QObject
14
{
15
Q_OBJECT
16
private
slots:
17
void
initTestCase();
18
19
void
GetNextIntTest();
20
void
GetNextIntRangeTest();
21
void
GetNextDoubleTest();
22
void
GetNextDoubleRangeTest();
23
24
void
cleanupTestCase();
25
26
private
:
27
istd::CRandomNumber
* m_randomNumberPtr =
nullptr
;
28
};
29
30
CRandomNumber.h
CStandardTestExecutor.h
CRandomNumberTest
Definition
CRandomNumberTest.h:14
istd::CRandomNumber
Helper class for calculation of a random number.
Definition
CRandomNumber.h:13
Generated by
1.9.8