Fix sanity checks in highgui module

This commit is contained in:
Andrey Kamaev
2012-10-09 19:39:03 +04:00
parent 4a53199e7a
commit 8ebd04cbf9
2 changed files with 4 additions and 2 deletions

View File

@@ -23,5 +23,6 @@ PERF_TEST_P(VideoCapture_Reading, ReadFile,
TEST_CYCLE() cap.open(filename);
SANITY_CHECK(cap.isOpened());
bool dummy = cap.isOpened();
SANITY_CHECK(dummy);
}