Mercurial > ~astiob > upreckon > hgweb
diff upreckon/problem.py @ 179:a55a1e00e121
Renamed load_problem to load_testcases
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 20 Jun 2011 17:56:47 +0300 |
parents | a1286da36d29 |
children | 0480dfa50366 |
line wrap: on
line diff
--- a/upreckon/problem.py Mon Jun 20 17:52:09 2011 +0300 +++ b/upreckon/problem.py Mon Jun 20 17:56:47 2011 +0300 @@ -112,7 +112,7 @@ prob.name = name prob.config = config.load_problem(name) prob.cache = Cache({'padoutput': 0}) - prob.testcases = load_problem(prob) + prob.testcases = load_testcases(prob) # TODO def build(prob): @@ -236,8 +236,8 @@ pass -def load_problem(prob, _types={'batch' : testcases.BatchTestCase, - 'outonly': testcases.OutputOnlyTestCase}): +def load_testcases(prob, _types={'batch' : testcases.BatchTestCase, + 'outonly': testcases.OutputOnlyTestCase}): # We will need to iterate over these configuration variables twice try: len(prob.config.dummies)