Files
image-sequencer/test/core/modules/tint.js
Harsh Khandeparkar 0c3d7be7e2 Module tests (#1058)
* change all old module benchmarks

* no node 6

* add average module tests

* edge-detect test added

* edge detect tests

* flip-image tests

* tint tests

* saturation tests

* gradient tests

* exposure tests

* draw-rectangle tests

* color-temperature tests

* convolution tests

* paint-bucket tests

* ndvi tests

* ndvi-colormap tests

* histogram tests

* crop tests

* gamma-correction tests

* dynamic tests

* colorbar tests

* webgl-distort tests

* fisheye-gl tests

* blend module tests

* overlay module tests
2019-05-06 15:41:42 -04:00

8 lines
348 B
JavaScript

const testModule = require('../templates/module-test'),
benchmark = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAklEQVR4AewaftIAAAAqSURBVKXBAQ0AAAiAMCSy/TcNwT+wRyCRRBJJJJFEEkkkkUQSSSSRRBI9GygBkdItUBEAAAAASUVORK5CYII=',
options = {
color: '30, 40, 190',
factor: 0.6
}
testModule('tint', options, benchmark);