return the value of the pixel right above the pixel whose coordinate is given, 0 if doesn't exist
(x, y)
| 262 | return 0 |
| 263 | |
| 264 | def upper_value(x, y) -> int: |
| 265 | """ |
| 266 | return the value of the pixel right above the pixel whose |
| 267 | coordinate is given, 0 if doesn't exist |
| 268 | """ |
| 269 | if y != 0: |
| 270 | return defiltered_bytes[y - 1][x] |
| 271 | else: |
| 272 | return 0 |
| 273 | |
| 274 | def upper_left_value(x, y) -> int: |
| 275 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected