MCPcopy
hub / github.com/nodeca/pica / fixture_resize_canvas.test.ts

File fixture_resize_canvas.test.ts

test/browser/fixture_resize_canvas.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Algorythm should not change. Use fixtures to check.
2//
3import pixelmatch from 'pixelmatch'
4import { expect } from 'vitest'

Callers

nothing calls this directly

Calls 4

loadImageFunction · 0.85
initMethod · 0.80
createCanvasMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected