Commit eaea1f8e authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add branch test

parent e6f13e43
Pipeline #96673 passed with stages
in 40 seconds
......@@ -40,9 +40,11 @@ bool testPHistogram(){
PHistogram<float> emptyHist;
std::cout << emptyHist << std::endl;
emptyHist.normalize();
PHistogram<float> singleValueHist(1lu);
std::cout << singleValueHist << std::endl;
emptyHist.normalize();
return b;
}
......@@ -57,6 +59,7 @@ bool testPHistogram2(){
float tabValue[] = {1.0f,4.0f,6.0f,3.0f,6.0f,6.0f,7.0f,4.0f,3.0f,7.0f,5.0f,3.0f,5.0f,6.0f};
hist.addValue(NULL, 0lu);
hist.addValue(NULL, 42lu);
hist.setValueRange(tabValue, 14lu);
hist.addValue(tabValue, 14lu);
......
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