tweaked to have better MEASURE_ONLY
This commit is contained in:
parent
dac044fe91
commit
c02aa49f73
2
test.cpp
2
test.cpp
@ -153,8 +153,8 @@ int main() {
|
|||||||
|
|
||||||
/* Check against std - the real test */
|
/* Check against std - the real test */
|
||||||
|
|
||||||
bool good = true;
|
|
||||||
#ifndef MEASURE_ONLY
|
#ifndef MEASURE_ONLY
|
||||||
|
bool good = true;
|
||||||
for(size_t i = 0; good && (i < in1.size()); ++i) {
|
for(size_t i = 0; good && (i < in1.size()); ++i) {
|
||||||
good &= (in1[i] == in2[i]);
|
good &= (in1[i] == in2[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user