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
fa951356
Commit
fa951356
authored
9 years ago
by
Anton Piccardo-Selg
Browse files
Options
Downloads
Patches
Plain Diff
Refs #13872 Fix unit test for dimension builder
parent
83b8a667
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/Geometry/test/MDHistoDimensionBuilderTest.h
+1
-1
1 addition, 1 deletion
Framework/Geometry/test/MDHistoDimensionBuilderTest.h
Framework/MDAlgorithms/test/ImportMDHistoWorkspaceTest.h
+1
-2
1 addition, 2 deletions
Framework/MDAlgorithms/test/ImportMDHistoWorkspaceTest.h
with
2 additions
and
3 deletions
Framework/Geometry/test/MDHistoDimensionBuilderTest.h
+
1
−
1
View file @
fa951356
...
@@ -81,7 +81,7 @@ public:
...
@@ -81,7 +81,7 @@ public:
TS_ASSERT_EQUALS
(
2
,
product
->
getMaximum
());
TS_ASSERT_EQUALS
(
2
,
product
->
getMaximum
());
TS_ASSERT_EQUALS
(
1
,
product
->
getNBins
());
TS_ASSERT_EQUALS
(
1
,
product
->
getNBins
());
TSM_ASSERT_EQUALS
(
"Should have selected GeneralFrame as the frame"
,
TSM_ASSERT_EQUALS
(
"Should have selected GeneralFrame as the frame"
,
Mantid
::
Geometry
::
GeneralFrame
::
GeneralFrame
Name
,
"testDim
Name
"
,
product
->
getMDFrame
().
name
());
product
->
getMDFrame
().
name
());
}
}
...
...
This diff is collapsed.
Click to expand it.
Framework/MDAlgorithms/test/ImportMDHistoWorkspaceTest.h
+
1
−
2
View file @
fa951356
...
@@ -303,8 +303,7 @@ public:
...
@@ -303,8 +303,7 @@ public:
auto
dimension
=
outWs
->
getDimension
(
dim
);
auto
dimension
=
outWs
->
getDimension
(
dim
);
const
auto
&
frame
=
dimension
->
getMDFrame
();
const
auto
&
frame
=
dimension
->
getMDFrame
();
TSM_ASSERT_EQUALS
(
"Should be convertible to a QSample frame"
,
TSM_ASSERT_EQUALS
(
"Should be convertible to a QSample frame"
,
Mantid
::
Geometry
::
QSample
::
QSampleName
,
Mantid
::
Geometry
::
QSample
::
QSampleName
,
frame
.
name
());
frame
.
name
());
TSM_ASSERT
(
"Should not be set to U any longer"
,
TSM_ASSERT
(
"Should not be set to U any longer"
,
"U"
!=
dimension
->
getUnits
().
ascii
());
"U"
!=
dimension
->
getUnits
().
ascii
());
}
}
...
...
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