(b bool)
| 195 | } |
| 196 | |
| 197 | func boolToInt(b bool) int { |
| 198 | if b { |
| 199 | return 1 |
| 200 | } |
| 201 | return 0 |
| 202 | } |
| 203 | |
| 204 | func (a thumbnailFitness) betterThan(b thumbnailFitness, desiredCrop bool) bool { |
| 205 | // preference means returning -1 |
no outgoing calls
no test coverage detected