Carna
Version 3.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
test
UnitTests
mathTest.h
1
/*
2
* Copyright (C) 2010 - 2015 Leonid Kostrykin
3
*
4
* Chair of Medical Engineering (mediTEC)
5
* RWTH Aachen University
6
* Pauwelsstr. 20
7
* 52074 Aachen
8
* Germany
9
*
10
*/
11
12
#pragma once
13
14
namespace
Carna
15
{
16
17
namespace
testing
18
{
19
20
21
22
// ----------------------------------------------------------------------------------
23
// mathTest
24
// ----------------------------------------------------------------------------------
25
32
class
mathTest
:
public
QObject
33
{
34
35
Q_OBJECT
36
37
private
slots:
38
42
void
initTestCase();
43
47
void
cleanupTestCase();
48
52
void
init();
53
57
void
cleanup();
58
59
// ----------------------------------------------------------------------------------
60
64
void
test_epsilon();
65
69
void
test_length2();
70
74
void
test_isEqual();
75
79
void
test_identity4f();
80
84
void
test_zeros();
85
89
void
test_basis4f();
90
94
void
test_translation4f();
95
99
void
test_scaling4f();
100
104
void
test_orthogonal3f();
105
109
void
test_plane4f();
110
114
void
test_round_ui();
115
119
void
test_makeEven();
120
124
void
test_mix();
125
129
void
test_CARNA_FOR_VECTOR3UI();
130
131
};
// mathTest
132
133
134
135
}
// namespace Carna :: testing
136
137
}
// namespace Carna
Carna::testing::mathTest
Unit-tests of the Carna::base::math namespace.
Definition:
mathTest.h:32
Carna
Definition:
doc_CoordinateSystems.dox:1
Written by
Leonid Kostrykin
at the Chair of Medical Engineering (mediTEC), RWTH Aachen University
Documentation generated by
Doxygen