(arg, expected)
| 365 | |
| 366 | def check_polar(self, func): |
| 367 | def check(arg, expected): |
| 368 | got = func(arg) |
| 369 | for e, g in zip(expected, got): |
| 370 | self.rAssertAlmostEqual(e, g) |
| 371 | check(0, (0., 0.)) |
| 372 | check(1, (1., 0.)) |
| 373 | check(-1, (1., pi)) |
nothing calls this directly
no test coverage detected