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
76748139
Commit
76748139
authored
Mar 10, 2021
by
Zhang, Chen
Browse files
add unit test for convertor from LeanPeak to Peak
parent
ac793bca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/test/PeakTest.h
View file @
76748139
...
@@ -123,6 +123,12 @@ public:
...
@@ -123,6 +123,12 @@ public:
check_Contributing_Detectors
(
p2
,
expectedIDs
);
check_Contributing_Detectors
(
p2
,
expectedIDs
);
}
}
void
test_ConstructorFromLeanElasticPeak
()
{
const
LeanElasticPeak
&
lpeak
=
p
(
V3D
(
1
,
2
,
3
));
TS_ASSERT_THROWS_NOTHING
(
Peak
p
(
lpeak
,
inst
));
}
void
test_copyConstructor
()
{
void
test_copyConstructor
()
{
Peak
p
(
inst
,
10102
,
2.0
);
Peak
p
(
inst
,
10102
,
2.0
);
p
.
setHKL
(
1
,
2
,
3
);
p
.
setHKL
(
1
,
2
,
3
);
...
...
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