(imageData: ImageData)
| 200 | * Converts ImageData to a comparable array for snapshots |
| 201 | */ |
| 202 | export function imageDataToArray(imageData: ImageData): number[] { |
| 203 | return Array.from(imageData.data); |
| 204 | } |
| 205 | |
| 206 | /** |
| 207 | * Test that algorithm handles edge cases |
nothing calls this directly
no outgoing calls
no test coverage detected