(a: number, b: number)
| 495 | for (const p of pDivisors) { |
| 496 | for (const q of qDivisors) { |
| 497 | const pos = p / q; |
| 498 | const neg = -p / q; |
| 499 | if (!seen.has(pos)) { |
| 500 | seen.add(pos); |
| 501 | candidates.push([p, q]); |
| 502 | } |
| 503 | if (!seen.has(neg)) { |
| 504 | seen.add(neg); |
| 505 | candidates.push([-p, q]); |
| 506 | } |
| 507 | } |
no test coverage detected