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

Add test

parent 41bb7841
Pipeline #96655 passed with stages
in 43 seconds
......@@ -12,6 +12,12 @@
bool testPMinMax(){
bool b(true);
b &= pminTab<int>(NULL, 0lu) == 0;
b &= pminTabPos<int>(NULL, 0lu) == 0lu;
b &= pmaxTab<int>(NULL, 0lu) == 0;
b &= pmaxTabPos<int>(NULL, 0lu) == 0lu;
int tabSingle[] = {1};
b &= pminTab(tabSingle, 1lu) == 1;
b &= pminTabPos(tabSingle, 1lu) == 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