This commit is contained in:
Vadim Pisarevsky
2013-03-22 15:10:54 +04:00
parent d756de176f
commit 38693ef37c
2 changed files with 15 additions and 1 deletions

View File

@@ -447,10 +447,21 @@ protected:
catch(...)
{
ts->set_failed_test_info(cvtest::TS::FAIL_MISMATCH);
}
}
}
};
TEST(Core_InputOutput, huge) { CV_BigMatrixIOTest test; test.safe_run(); }
*/
TEST(Core_InputOutput, FileStorage)
{
std::string file = cv::tempfile(".xml");
cv::FileStorage f(file, cv::FileStorage::WRITE);
char arr[66];
sprintf(arr, "sprintf is hell %d", 666);
EXPECT_NO_THROW(f << arr);
}