Ensure the tests for #1477 pass on OS X

This commit is contained in:
Lovell Fuller 2018-12-04 23:45:08 +01:00
parent 541e7104fd
commit f25dbd5f61

View File

@ -21,7 +21,8 @@ describe('Recomb', function () {
assert.strictEqual(450, info.height);
fixtures.assertMaxColourDistance(
output,
fixtures.expected('Landscape_1-recomb-sepia.jpg')
fixtures.expected('Landscape_1-recomb-sepia.jpg'),
17
);
done();
});
@ -42,7 +43,8 @@ describe('Recomb', function () {
assert.strictEqual(768, info.height);
fixtures.assertMaxColourDistance(
output,
fixtures.expected('alpha-recomb-sepia.png')
fixtures.expected('alpha-recomb-sepia.png'),
17
);
done();
});
@ -96,7 +98,8 @@ describe('Recomb', function () {
assert.strictEqual(450, info.height);
fixtures.assertMaxColourDistance(
output,
fixtures.expected('Landscape_1-recomb-saturation.jpg')
fixtures.expected('Landscape_1-recomb-saturation.jpg'),
37
);
done();
});