(v=0, i=0, r=0)
| 1 | def ohms_law(v=0, i=0, r=0): |
| 2 | if v == 0: |
| 3 | result = i * r |
| 4 | return result |
| 5 | elif i == 0: |
| 6 | result = v / r |
| 7 | return result |
| 8 | elif r == 0: |
| 9 | result = v / i |
| 10 | return result |
| 11 | else: |
| 12 | return 0 |
nothing calls this directly
no outgoing calls
no test coverage detected