ImagingTools Core SDK
CCuboidTest.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QObject>
7#include <QtTest/QtTest>
8
9// ACF includes
10#include <itest/CStandardTestExecutor.h>
11
12// ImtCore includes
13#include <imt3d/CCuboid.h>
14
15
19class CCuboidTest: public QObject
20{
21 Q_OBJECT
22
23private slots:
24 void initTestCase();
25
26 void testDefaultConstructor();
27 void testConstructorWithValues();
28 void testGetSetLeft();
29 void testGetSetRight();
30 void testGetSetTop();
31 void testGetSetBottom();
32 void testGetSetNear();
33 void testGetSetFar();
34 void testGetWidth();
35 void testGetHeight();
36 void testGetDepth();
37 void testGetCenterPoint();
38 void testExpandToPoint();
39 void testGetSetHorizontalRange();
40 void testGetSetVerticalRange();
41 void testGetSetDepthRange();
42 void testCornerPoints();
43 void testIsEmpty();
44 void testIntersects();
45 void testContains();
46
47 void cleanupTestCase();
48};
49
50