(self,wickets,overs,runs,numofovers, win, used_before, battingfirst)
| 344 | |
| 345 | |
| 346 | def getresults(self,wickets,overs,runs,numofovers, win, used_before, battingfirst): |
| 347 | #code to get the actual info if everything goes well |
| 348 | Cricketobj = Cricket(wickets,overs,runs,numofovers, win) |
| 349 | # if used_before == 'N': |
| 350 | win = 10 |
| 351 | #originalscore = 0 |
| 352 | #wold = 0 |
| 353 | #yold = 0 |
| 354 | #orignovoers = 0 |
| 355 | results = Cricketobj.usedbefore(wickets, overs, runs,numofovers, win,used_before, battingfirst) |
| 356 | return results |
| 357 | #main |
| 358 | import cPickle, shelve |
| 359 | import math |
no test coverage detected