mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-12 19:30:00 +01:00
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
This commit is contained in:
committed by
Jeffrey Warren
parent
06ac596d7e
commit
0c3d7be7e2
4
test/core/modules/gradient.js
Normal file
4
test/core/modules/gradient.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const testModule = require('../templates/module-test'),
|
||||
benchmark = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAklEQVR4AewaftIAAAA8SURBVKXBAQEDQQwEofk1cPg324oIfNXvvRdCCCGEEEIIIbSO1tE6WkfraB2to3W0jtbROlpH62gdraM/TycD7F0LvFgAAAAASUVORK5CYII=';
|
||||
|
||||
testModule('gradient', {}, benchmark)
|
||||
Reference in New Issue
Block a user