Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
8189a705
Commit
8189a705
authored
Jan 29, 2021
by
Gagik Vardanyan
Browse files
fixed typos in the log names in the test
parent
a4a29db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataHandling/test/LoadILLSANSTest.h
View file @
8189a705
...
...
@@ -208,8 +208,8 @@ public:
V3D
pos
=
comp
->
getPos
();
TS_ASSERT
(
run
.
hasProperty
(
"Detector 2.det2_calc"
))
double
det2_calc
=
run
.
getLogAsSingleValue
(
"Detector 2.det2_calc"
);
TS_ASSERT
(
run
.
hasProperty
(
"Detector
_
2.dtr2_actual"
))
double
dtr2_act
=
run
.
getLogAsSingleValue
(
"Detector
_
2.dtr2_actual"
);
TS_ASSERT
(
run
.
hasProperty
(
"Detector
2.dtr2_actual"
))
double
dtr2_act
=
run
.
getLogAsSingleValue
(
"Detector
2.dtr2_actual"
);
TS_ASSERT_DELTA
(
pos
.
Z
(),
det2_calc
,
1E-6
)
TS_ASSERT_DELTA
(
pos
.
X
(),
-
dtr2_act
/
1000.
,
1E-6
)
TS_ASSERT
(
run
.
hasProperty
(
"L2"
))
...
...
@@ -220,8 +220,8 @@ public:
pos
=
comp
->
getPos
();
TS_ASSERT
(
run
.
hasProperty
(
"Detector 1.det1_calc"
))
double
det1_calc
=
run
.
getLogAsSingleValue
(
"Detector 1.det1_calc"
);
TS_ASSERT
(
run
.
hasProperty
(
"Detector
_
1.dtr1_actual"
))
double
dtr1_act
=
run
.
getLogAsSingleValue
(
"Detector
_
1.dtr1_actual"
);
TS_ASSERT
(
run
.
hasProperty
(
"Detector
1.dtr1_actual"
))
double
dtr1_act
=
run
.
getLogAsSingleValue
(
"Detector
1.dtr1_actual"
);
TS_ASSERT_DELTA
(
pos
.
Z
(),
det1_calc
,
1E-6
)
TS_ASSERT_DELTA
(
pos
.
X
(),
-
dtr1_act
/
1000.
,
1E-6
)
...
...
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