Do not ask anything in unit-test - simple run.

This commit is contained in:
vng 2011-08-25 07:48:12 +03:00 committed by Alex Zolotarev
parent 23894576db
commit cd7d41afd3

View file

@ -275,10 +275,10 @@ namespace
void RunTestForChoice(string const & fName)
{
cout << "Run " << fName << "? (y/n)\n";
char c;
cin >> c;
if (c == 'y')
// cout << "Run " << fName << "? (y/n)\n";
// char c;
// cin >> c;
// if (c == 'y')
RunTest(fName + DATA_FILE_EXTENSION);
}
}
@ -286,5 +286,5 @@ namespace
UNIT_TEST(IndexForEachTest)
{
RunTestForChoice("minsk-pass");
RunTestForChoice("london-center");
//RunTestForChoice("london-center");
}