Commit 9973b242 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add branch test

parent eaea1f8e
Pipeline #96674 passed with stages
in 45 seconds
......@@ -15,6 +15,7 @@ bool testPHistogram(){
PHistogram<float> hist(-1.0f, 1.0f, 10lu);
hist.reset();
hist.normalize();
for(size_t i(0lu); i < 1000lu; ++i){
hist.addValue((((float)(i*27lu%19)) - 9.0)/2.0f);
}
......@@ -60,7 +61,9 @@ bool testPHistogram2(){
hist.addValue(NULL, 0lu);
hist.addValue(NULL, 42lu);
hist.setValueRange(NULL, 42lu);
hist.setValueRange(tabValue, 14lu);
hist.addValue(tabValue, 14lu);
hist.setValueRange(tabValue, 0lu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment