LibCarna Version 3.4.0
Loading...
Searching...
No Matches
VolumeGridTest.hpp
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#pragma once
16
17#include <LibCarna/LibCarna.hpp>
18
19namespace LibCarna
20{
21
22namespace testing
23{
24
25
26
27// ----------------------------------------------------------------------------------
28// VolumeGridTestUInt16
29// ----------------------------------------------------------------------------------
30
36class VolumeGridTestUInt16 : public QObject
37{
38
39 Q_OBJECT
40
41private slots:
42
45 void initTestCase();
46
49 void cleanupTestCase();
50
53 void init();
54
57 void cleanup();
58
59 // ---------------------------------------------------------------------------------
60
61 void test_instantiation();
62
63 void test_parenthesisOperator();
64
65 // ---------------------------------------------------------------------------------
66
67private:
68
69 std::unique_ptr< base::VolumeGrid< base::IntensityVolumeUInt16, void > > grid;
70
71}; // VolumeGridTestUInt16
72
73
74
75// ----------------------------------------------------------------------------------
76// VolumeGridTestUInt8
77// ----------------------------------------------------------------------------------
78
84class VolumeGridTestUInt8 : public QObject
85{
86
87 Q_OBJECT
88
89private slots:
90
93 void initTestCase();
94
97 void cleanupTestCase();
98
101 void init();
102
105 void cleanup();
106
107 // ---------------------------------------------------------------------------------
108
109 void test_instantiation();
110
111 void test_parenthesisOperator1();
112
113 void test_parenthesisOperator2();
114
115 // ---------------------------------------------------------------------------------
116
117private:
118
119 std::unique_ptr< base::VolumeGrid< base::IntensityVolumeUInt8, void > > grid;
120
121}; // VolumeGridTestUInt8
122
123
124
125} // namespace testing
126
127} // namespace LibCarna
Contains forward-declarations.
Module-tests of the LibCarna::base::VolumeGrid class.
Module-tests of the LibCarna::base::VolumeGrid class.