Permalink
Browse files

Add interlace encoding tests

  • Loading branch information...
marcelerz committed Sep 22, 2015
1 parent 3a8634d commit 8f86d9484359c9fcad86bb0c6dc49a95b8f587eb
Binary file not shown.
Binary file not shown.
View
@@ -17,6 +17,7 @@ describe('Encode', function () {
});
require('./filter');
require('./interlace');
require('./ancillary');
require('./custom');
@@ -0,0 +1,45 @@
// Copyright 2015 Yahoo! Inc.
// Copyrights licensed under the Mit License. See the accompanying LICENSE file for terms.
var testGen = require('../testGen');
describe('Interlace', function () {
describe('No Interlace', function () {
testGen.addEncodeTests({
resourceGroup: [],
resourceFile: 'base',
outputGroup: 'interlace',
outputFile: 'no_interlace',
imageCheck: true,
width: 32,
height: 32,
encodeOptions: {
filter: 0,
interlace: 0
}
});
});
describe('With Interlace', function () {
testGen.addEncodeTests({
resourceGroup: [],
resourceFile: 'base',
outputGroup: 'interlace',
outputFile: 'with_interlace',
imageCheck: true,
width: 32,
height: 32,
encodeOptions: {
filter: 0,
interlace: 1
}
});
});
});

0 comments on commit 8f86d94

Please sign in to comment.