(
algorithmName: string,
imageSize: { width: number; height: number },
paletteName: string
)
| 189 | * Creates a snapshot key for algorithm output |
| 190 | */ |
| 191 | export function createSnapshotKey( |
| 192 | algorithmName: string, |
| 193 | imageSize: { width: number; height: number }, |
| 194 | paletteName: string |
| 195 | ): string { |
| 196 | return `${algorithmName}_${imageSize.width}x${imageSize.height}_${paletteName}`; |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Converts ImageData to a comparable array for snapshots |
nothing calls this directly
no outgoing calls
no test coverage detected