Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
0d9be881
Commit
0d9be881
authored
May 11, 2011
by
Mathias Goldau
Browse files
[DOC]
parent
f07aa188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/dataHandler/datastructures/test/WFiberCluster_test.h
src/dataHandler/datastructures/test/WFiberCluster_test.h
+2
-3
No files found.
src/dataHandler/datastructures/test/WFiberCluster_test.h
View file @
0d9be881
...
...
@@ -95,7 +95,7 @@ public:
expected
.
push_back
(
WPosition
(
(
(
9.0
-
3
*
std
::
sqrt
(
2.0
)
)
/
4.0
+
2
*
(
5
+
std
::
sqrt
(
2.0
)
)
/
4.0
-
3.0
)
/
2.0
+
3
,
1.5
,
0
)
);
expected
.
push_back
(
WPosition
(
5
,
1.5
,
0
)
);
m_cluster
->
generateCenterLine
();
assert_equals_delta
(
*
m_cluster
->
getCenterLine
(),
expected
,
wlimits
::
FLT_EPS
);
// decrese precision since it fails occasionally
assert_equals_delta
(
*
m_cluster
->
getCenterLine
(),
expected
,
wlimits
::
FLT_EPS
);
std
::
cout
<<
*
m_cluster
->
getDataSetReference
()
<<
std
::
endl
;
}
...
...
@@ -352,8 +352,7 @@ public:
private:
/**
* TS_ASSERT_DELTA needs the operator+, operator- and operator< to be implemented especially for WPositions the operator< and operator +
* makes not really sense. Hence I implemented an assert by my one, giving reasonable out put.
* Compares to point sequences (aka lines) with a given delta.
*
* \param first First line to compare with
* \param second Second line to compare with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment