Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixMath
Commits
e6f13e43
Commit
e6f13e43
authored
Dec 20, 2020
by
Pierre Aubert
Browse files
Add branch test
parent
75279e55
Pipeline
#96672
passed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
TESTS/TEST_PHISTOGRAM/main.cpp
TESTS/TEST_PHISTOGRAM/main.cpp
+6
-0
No files found.
TESTS/TEST_PHISTOGRAM/main.cpp
View file @
e6f13e43
...
...
@@ -38,6 +38,9 @@ bool testPHistogram(){
}
std
::
cout
<<
hist4
<<
std
::
endl
;
PHistogram
<
float
>
emptyHist
;
std
::
cout
<<
emptyHist
<<
std
::
endl
;
PHistogram
<
float
>
singleValueHist
(
1lu
);
std
::
cout
<<
singleValueHist
<<
std
::
endl
;
...
...
@@ -57,6 +60,9 @@ bool testPHistogram2(){
hist
.
setValueRange
(
tabValue
,
14lu
);
hist
.
addValue
(
tabValue
,
14lu
);
hist
.
setValueRange
(
tabValue
,
0lu
);
hist
.
addValue
(
tabValue
,
0lu
);
std
::
cout
<<
hist
<<
std
::
endl
;
PHistogram
<
float
>
hist4
(
10lu
);
...
...
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