(a, b1, b2)
| 1095 | } |
| 1096 | |
| 1097 | function isBetween(a, b1, b2) { |
| 1098 | return (b1 <= a && a <= b2) || (b2 <= a && a <= b1) |
| 1099 | |
| 1100 | } |
| 1101 | |
| 1102 | if (isBetween(directedCorrection.x, 0, maxAllowedXCorrection) && |
| 1103 | isBetween(directedCorrection.y, 0, maxAllowedYCorrection)) { |
nothing calls this directly
no outgoing calls
no test coverage detected