LibCarna
Version 3.4.0
Loading...
Searching...
No Matches
test
UnitTests
mathTest.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
namespace
LibCarna
18
{
19
20
namespace
testing
21
{
22
23
24
25
// ----------------------------------------------------------------------------------
26
// mathTest
27
// ----------------------------------------------------------------------------------
28
34
class
mathTest
:
public
QObject
35
{
36
37
Q_OBJECT
38
39
private
slots:
40
44
void
initTestCase();
45
49
void
cleanupTestCase();
50
54
void
init();
55
59
void
cleanup();
60
61
// ----------------------------------------------------------------------------------
62
66
void
test_epsilon();
67
71
void
test_length2();
72
76
void
test_isEqual();
77
81
void
test_identity4f();
82
86
void
test_zeros();
87
91
void
test_basis4f();
92
96
void
test_translation4f();
97
101
void
test_scaling4f();
102
106
void
test_orthogonal3f();
107
111
void
test_plane4f();
112
116
void
test_round_ui();
117
121
void
test_makeEven();
122
126
void
test_mix();
127
131
void
test_LIBCARNA_FOR_VECTOR3UI();
132
133
};
// mathTest
134
135
136
137
}
// namespace LibCarna :: testing
138
139
}
// namespace LibCarna
LibCarna::testing::mathTest
Unit-tests of the LibCarna::base::math namespace.
Definition
mathTest.hpp:35
Written by Leonid Kostrykin © 2021–2025. Based on
Carna
(© 2010-2016).
Documentation generated by
Doxygen