ACF $AcfVersion:0$
CVarVectorTest.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 <imath/CVarVector.h>
12
13class CVarVectorTest: public QObject
14{
15 Q_OBJECT
16private slots:
17 void initTestCase();
18
19 void DefaultConstructorTest();
20 void SizeConstructorTest();
21 void CopyConstructorTest();
22 void TVectorConstructorTest();
23 void IsEmptyTest();
24 void GetSetElementTest();
25 void SetAllElementsTest();
26 void ResetClearTest();
27 void SetElementsFromTest();
28 void EnsureElementsCountTest();
29 void TranslateTest();
30 void ScaledCumulateTest();
31 void IsNullTest();
32 void DotProductTest();
33 void LengthTest();
34 void DistanceTest();
35 void ElementsSumTest();
36 void NormalizeTest();
37 void GetNormalizedTest();
38
39 void cleanupTestCase();
40};
41
42