(a, b)
| 44 | // Returns 1 if a < b and -1 otherwise |
| 45 | // (For the purposes of this module we don't care about the case where a == b) |
| 46 | function dirSign(a, b) { |
| 47 | return a < b ? 1 : -1; |
| 48 | } |
| 49 | |
| 50 | function getXY(di, xa, ya, isHorizontal) { |
| 51 | var s = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…