projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f5609
)
Removed uneeded statements in LogicDataSnapshot test
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 13 Oct 2012 21:29:07 +0000
(22:29 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 20 Oct 2012 17:29:25 +0000
(18:29 +0100)
test/logicdatasnapshot.cpp
patch
|
blob
|
history
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(
j
; j < Period; j++)
+ for(; j < Period; j++)
*p++ = 0;
}
@@
-376,7
+376,7
@@
BOOST_AUTO_TEST_CASE(LongPulses)
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 << "]");