(steps)
| 24 | |
| 25 | |
| 26 | def roundSteps(steps): |
| 27 | if max(steps) >= 1000: |
| 28 | start, end = 0, round(max(steps), -3) |
| 29 | elif max(steps) >= 100: |
| 30 | start, end = 0, round(max(steps), -2) |
| 31 | elif max(steps) >= 10: |
| 32 | start, end = 0, round(max(steps), -1) |
| 33 | else: |
| 34 | start, end = 0, max(steps) |
| 35 | return start, end |
| 36 | |
| 37 | |
| 38 | def readResiduals(filename): |
no outgoing calls
no test coverage detected