This commit is contained in:
Ilya Lavrenov
2014-03-02 21:04:17 +04:00
parent 879c0196d4
commit eedf86402d
18 changed files with 30 additions and 30 deletions

View File

@@ -1357,7 +1357,7 @@ int Core_SetTest::test_set_ops( int iters )
(cvset->total == 0 || cvset->total >= prev_total),
"The total number of cvset elements is not correct" );
// CvSet and simple set do not neccessary have the same "total" (active & free) number,
// CvSet and simple set do not necessary have the same "total" (active & free) number,
// so pass "set->total" to skip that check
test_seq_block_consistence( struct_idx, (CvSeq*)cvset, cvset->total );
update_progressbar();
@@ -1779,7 +1779,7 @@ int Core_GraphTest::test_graph_ops( int iters )
(graph->edges->total == 0 || graph->edges->total >= prev_edge_total),
"The total number of graph vertices is not correct" );
// CvGraph and simple graph do not neccessary have the same "total" (active & free) number,
// CvGraph and simple graph do not necessary have the same "total" (active & free) number,
// so pass "graph->total" (or "graph->edges->total") to skip that check
test_seq_block_consistence( struct_idx, (CvSeq*)graph, graph->total );
test_seq_block_consistence( struct_idx, (CvSeq*)graph->edges, graph->edges->total );