projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed uneeded statements in LogicDataSnapshot test
[pulseview.git]
/
test
/
logicdatasnapshot.cpp
diff --git
a/test/logicdatasnapshot.cpp
b/test/logicdatasnapshot.cpp
index 4f2c86517d6a114882a96f8ebb330e15ec8afd7d..3dd72285e52d85dba5f8a134150beb61dd170498 100644
(file)
--- a/
test/logicdatasnapshot.cpp
+++ b/
test/logicdatasnapshot.cpp
@@
-355,7
+355,7
@@
BOOST_AUTO_TEST_CASE(LongPulses)
for(int i = 0; i < Cycles; i++) {
for(j = 0; j < PulseWidth; j++)
*p++ = ~0;
for(int i = 0; i < Cycles; i++) {
for(j = 0; j < PulseWidth; j++)
*p++ = ~0;
- for(
j
; j < Period; j++)
+ for(; j < Period; j++)
*p++ = 0;
}
*p++ = 0;
}
@@
-376,7
+376,7
@@
BOOST_AUTO_TEST_CASE(LongPulses)
BOOST_CHECK_EQUAL(s.get_subsample(0, i++), ~0);
}
BOOST_CHECK_EQUAL(s.get_subsample(0, i++), ~0);
}
- for(
j
; i < s._mip_map[0].length &&
+ for(; i < s._mip_map[0].length &&
j < Period/LogicDataSnapshot::MipMapScaleFactor; j++) {
BOOST_TEST_MESSAGE(
"Testing mip_map[0].data[" << i << "]");
j < Period/LogicDataSnapshot::MipMapScaleFactor; j++) {
BOOST_TEST_MESSAGE(
"Testing mip_map[0].data[" << i << "]");