|
|
@ -23,9 +23,9 @@ module.exports = function (_, dir, finish, gm) { |
|
|
|
assert.equal(d.Orientation, 'TopLeft'); |
|
|
|
assert.equal(d.Orientation, 'TopLeft'); |
|
|
|
assert.equal(d['Geometry'], '430x488+0+0'); |
|
|
|
assert.equal(d['Geometry'], '430x488+0+0'); |
|
|
|
assert.equal(d['Print size'], '5.97222x6.77778'); |
|
|
|
assert.equal(d['Print size'], '5.97222x6.77778'); |
|
|
|
assert.equal(d['Channel depth'].Red, '8-bit'); |
|
|
|
assert.ok(d['Channel depth'].Red || d['Channel depth'].red); |
|
|
|
assert.equal(d['Channel depth'].Green, '8-bit'); |
|
|
|
assert.ok(d['Channel depth'].Green || d['Channel depth'].green); |
|
|
|
assert.equal(d['Channel statistics'].Red.min, '0 (0)'); |
|
|
|
assert.ok(/0\s+\(0\)/.test(d['Channel statistics'].Red.min)); |
|
|
|
|
|
|
|
|
|
|
|
var sd = d['Channel statistics'].Red['standard deviation'].split(' ') |
|
|
|
var sd = d['Channel statistics'].Red['standard deviation'].split(' ') |
|
|
|
var sd1 = parseFloat(sd[0]) |
|
|
|
var sd1 = parseFloat(sd[0]) |
|
|
|