This commit is contained in:
Andrey Kamaev 2011-04-20 11:28:16 +00:00
parent cc1c613313
commit 8483b95256

View File

@ -717,7 +717,7 @@ int Core_SeqBaseTest::test_get_seq_reading( int _struct_idx, int iters )
CV_TS_SEQ_CHECK_CONDITION( memcmp(elem, cvTsSimpleSeqElem(sseq, pos),
sseq->elem_size) == 0, "reading is incorrect" );
pos += direction;
if( pos < 0 ) pos += total;
if( -pos > 0 ) pos += total;
if( pos >= total ) pos -= total;
CV_TS_SEQ_CHECK_CONDITION( pos == cvGetSeqReaderPos( &reader ),