Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
eb6f907f
Commit
eb6f907f
authored
Feb 27, 2018
by
Lamar Moore
Browse files
fix CSGObjectTest #21230
parent
ac1c0d8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Geometry/test/CSGObjectTest.h
View file @
eb6f907f
...
...
@@ -88,9 +88,9 @@ public:
ShapeInfo
::
GeometryShape
objType
;
double
radius
(
-
1.0
),
height
(
-
1.0
);
std
::
vector
<
V3D
>
pts
;
auto
handler
=
original
->
getGeometryHandler
();
auto
handler
=
original
.
getGeometryHandler
();
TS_ASSERT
(
handler
->
hasShapeInfo
());
original
->
GetObjectGeom
(
objType
,
pts
,
radius
,
height
);
original
.
GetObjectGeom
(
objType
,
pts
,
radius
,
height
);
TS_ASSERT_EQUALS
(
ShapeInfo
::
GeometryShape
::
SPHERE
,
objType
);
CSGObject
copy
(
original
);
...
...
@@ -114,9 +114,9 @@ public:
ShapeInfo
::
GeometryShape
objType
;
double
radius
(
-
1.0
),
height
(
-
1.0
);
std
::
vector
<
V3D
>
pts
;
auto
handler
=
original
->
getGeometryHandler
();
auto
handler
=
original
.
getGeometryHandler
();
TS_ASSERT
(
handler
->
hasShapeInfo
());
original
->
GetObjectGeom
(
objType
,
pts
,
radius
,
height
);
original
.
GetObjectGeom
(
objType
,
pts
,
radius
,
height
);
TS_ASSERT_EQUALS
(
ShapeInfo
::
GeometryShape
::
SPHERE
,
objType
);
CSGObject
lhs
;
// initialize
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment