Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
d2b82b43
Commit
d2b82b43
authored
6 years ago
by
Owen Arnold
Browse files
Options
Downloads
Patches
Plain Diff
Fix complex transform test
parent
298453ee
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/NexusGeometry/test/NexusGeometryParserTest.h
+4
-4
4 additions, 4 deletions
Framework/NexusGeometry/test/NexusGeometryParserTest.h
with
4 additions
and
4 deletions
Framework/NexusGeometry/test/NexusGeometryParserTest.h
+
4
−
4
View file @
d2b82b43
...
...
@@ -105,9 +105,9 @@ public:
detectorInfo
->
position
(
detectorInfo
->
indexOf
(
2100000
)));
Eigen
::
Vector3d
unitVectorTranslation
(
0.2651564830210424
,
0.0
,
0.9642053928037905
);
// Fixed in file location vector attribute
const
double
magnitude
=
4.148
;
// Fixed in file location value
const
double
rotation
=
-
15.376
;
// Fixed in file orientation value
0.9642053928037905
);
// Fixed in file location vector attribute
const
double
magnitude
=
4.148
493
;
// Fixed in file location value
const
double
rotation
=
-
15.376
25
;
// Fixed in file orientation value
Eigen
::
Vector3d
rotationAxis
(
0
,
-
1
,
0
);
// Fixed in file orientation vector attribute
Eigen
::
Vector3d
offset
(
-
0.498
,
-
0.200
,
0.00
);
// All offsets for pixel x,
...
...
@@ -129,7 +129,7 @@ public:
0 0 0 1
*/
Eigen
::
Vector3d
expectedPosition
=
affine
*
offset
;
TS_ASSERT
(
det0Postion
.
isApprox
(
expectedPosition
,
1e-
6
));
TS_ASSERT
(
det0Postion
.
isApprox
(
expectedPosition
,
1e-
5
));
}
void
test_shape_cylinder_shape
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment